#7B209C#7B209C

#7B209C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.192 H 314.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7B209C
RGBrgb(123, 32, 156)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(21.2%, 79.5%, 0%, 38.8%)
CIE-LABlab(33.23, 56.09, -48.29)
CIE-LCHlch(33.23, 74.01, 319.27°)
OKLaboklab(44.96% 0.1358 -0.1364)
OKLCHoklch(44.96% 0.192 314.9)
XYZxyz(14.6846, 7.6448, 32.1481)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209C #419C20
analogous
#3D209C #7B209C #9C207F
triadic
#7B209C #9C7B20 #209C7B
tetradic
#7B209C #9C3D20 #419C20 #207F9C
square
#7B209C #9C3D20 #419C20 #207F9C
split-complementary
#7B209C #7F9C20 #209C3D
monochromatic
#2B0B36 #531669 #7B209C #A32ACF #BA59DD

Accessibility & contrast

On white

8.30
#7B209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B209C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209C#FFFFFF#000000##FFFFFF
##7B209C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#783D5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b209c;
/* rgb */ color: rgb(123, 32, 156);
/* oklch */ color: oklch(45.0% 0.192 314.9);
Tailwind
colors: {
  custom: {
    50: '#a567ba',
    500: '#7b209c',
    950: '#000000',
  },
}
SCSS
$custom: #7b209c;
$custom-light: #a567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209c",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 284.032,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.19249,
    "h": 314.9
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#7B209C
secondary
#73C157
accent
#E93F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B209C

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

Preview Lab → · Contrast checker → · Palette generator →

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