#7B206C#7B206C

#7B206C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.152 H 335.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7B206C
RGBrgb(123, 32, 108)
HSLhsl(310, 59%, 30%)
HSVhsv(310, 74%, 48%)
CMYKcmyk(0%, 74%, 12.2%, 51.8%)
CIE-LABlab(30.22, 47.28, -23.15)
CIE-LCHlch(30.22, 52.64, 333.91°)
OKLaboklab(41.85% 0.1381 -0.0632)
OKLCHoklch(41.85% 0.152 335.4)
XYZxyz(11.3918, 6.3277, 14.8058)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B206C #207B2F
analogous
#5C207B #7B206C #7B203E
triadic
#7B206C #6C7B20 #206C7B
tetradic
#7B206C #7B5C20 #207B2F #203E7B
square
#7B206C #7B5C20 #207B2F #203E7B
split-complementary
#7B206C #3E7B20 #207B5C
monochromatic
#1A0717 #4A1341 #7B206C #AC2D97 #CF46B8

Accessibility & contrast

On white

9.27
#7B206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B206C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B206C#FFFFFF#000000##FFFFFF
##7B206C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#404C6A
Tritanopia (blue-blind)
#812743
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b206c;
/* rgb */ color: rgb(123, 32, 108);
/* oklch */ color: oklch(41.9% 0.152 335.4);
Tailwind
colors: {
  custom: {
    50: '#a46596',
    500: '#7b206c',
    950: '#000000',
  },
}
SCSS
$custom: #7b206c;
$custom-light: #a46596;
$custom-dark: #000000;
JSON
{
  "hex": "#7b206c",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 309.89,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.15188,
    "h": 335.4
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#7B206C
secondary
#49AE59
accent
#E26046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B206C

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

Preview Lab → · Contrast checker → · Palette generator →

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