#7B207B#7B207B

#7B207B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.164 H 328.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7B207B
RGBrgb(123, 32, 123)
HSLhsl(300, 59%, 30%)
HSVhsv(300, 74%, 48%)
CMYKcmyk(0%, 74%, 0%, 51.8%)
CIE-LABlab(31.06, 49.81, -31.37)
CIE-LCHlch(31.06, 58.86, 327.80°)
OKLaboklab(42.72% 0.1389 -0.0869)
OKLCHoklch(42.72% 0.164 328)
XYZxyz(12.2599, 6.6749, 19.3777)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B207B #207B20
analogous
#4D207B #7B207B #7B204D
triadic
#7B207B #7B7B20 #207B7B
tetradic
#7B207B #7B4D20 #207B20 #204D7B
square
#7B207B #7B4D20 #207B20 #204D7B
split-complementary
#7B207B #4D7B20 #207B4D
monochromatic
#1A071A #4A134A #7B207B #AC2DAC #CF46CF

Accessibility & contrast

On white

8.99
#7B207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7B207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B207B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B207B#FFFFFF#000000##FFFFFF
##7B207B1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#7F2E4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b207b;
/* rgb */ color: rgb(123, 32, 123);
/* oklch */ color: oklch(42.7% 0.164 328.0);
Tailwind
colors: {
  custom: {
    50: '#a465a1',
    500: '#7b207b',
    950: '#000000',
  },
}
SCSS
$custom: #7b207b;
$custom-light: #a465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b207b",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 300,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.16387,
    "h": 328
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#7B207B
secondary
#49AE49
accent
#E24646
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B207B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7B207B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva