#7B00A8

A color in the Purple, Crimson, Magenta family

#7b00a8 is a color in the Purple, Crimson, Magenta family: RGB(123, 0, 168), HSL(284°, 100%, 33%), CMYK(27%, 100%, 0%, 34%). Closest named color: darkmagenta. Contrast is 8.72:1 on white and 2.41:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7b00a8
RGBrgb(123 0 168)
RGB (legacy)rgb(123, 0, 168)
RGB %rgb(48% 0% 66%)
HSLhsl(284 100% 33%)
HSV / HSBhsv(284, 100%, 66%)
HWBhwb(284 0% 34%)
CMYKcmyk(27%, 100%, 0%, 34%)
CIELAB (D50)lab(31.3 60.39 -58.34)
LCHlch(31.3 83.97 315.99)
OKLaboklab(0.4433 0.149 -0.1639)
OKLCHoklch(0.4433 0.2215 312.26)
Decimal8061096

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 6.2
Closest web-safe color#660099
Hue284°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)22% / 15%
Relative luminance (WCAG)0.0704
Red / Green / Blue123 / 0 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 87.6 / -14.5 · As background with white / black text: Lc -92.3 / 16.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7b00a8;
  --color-brand-oklch: oklch(44.33% 0.2215 312.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(123 0 168 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7b00a8] text-[#7b00a8] border-[#7b00a8]">