#7B206D#7B206D

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

Color values

HEX#7B206D
RGBrgb(123, 32, 109)
HSLhsl(309, 59%, 30%)
HSVhsv(309, 74%, 48%)
CMYKcmyk(0%, 74%, 11.4%, 51.8%)
CIE-LABlab(30.28, 47.44, -23.71)
CIE-LCHlch(30.28, 53.03, 333.45°)
OKLaboklab(41.91% 0.1382 -0.0648)
OKLCHoklch(41.91% 0.153 334.9)
XYZxyz(11.4453, 6.3491, 15.0877)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B206D #207B2E
analogous
#5B207B #7B206D #7B203F
triadic
#7B206D #6D7B20 #206D7B
tetradic
#7B206D #7B5B20 #207B2E #203F7B
square
#7B206D #7B5B20 #207B2E #203F7B
split-complementary
#7B206D #3F7B20 #207B5B
monochromatic
#1A0717 #4A1342 #7B206D #AC2D98 #CF46BA

Accessibility & contrast

On white

9.25
#7B206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B206D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B206D#FFFFFF#000000##FFFFFF
##7B206D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#812744
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b206d;
/* rgb */ color: rgb(123, 32, 109);
/* oklch */ color: oklch(41.9% 0.153 334.9);
Tailwind
colors: {
  custom: {
    50: '#a46597',
    500: '#7b206d',
    950: '#000000',
  },
}
SCSS
$custom: #7b206d;
$custom-light: #a46597;
$custom-dark: #000000;
JSON
{
  "hex": "#7b206d",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 309.231,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.15265,
    "h": 334.9
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#7B206D
secondary
#49AE58
accent
#E25E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B206D

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

Preview Lab → · Contrast checker → · Palette generator →

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