#7B209D#7B209D

#7B209D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.193 H 314.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7B209D
RGBrgb(123, 32, 157)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(21.7%, 79.6%, 0%, 38.4%)
CIE-LABlab(33.30, 56.29, -48.78)
CIE-LCHlch(33.30, 74.49, 319.09°)
OKLaboklab(45.03% 0.1357 -0.1378)
OKLCHoklch(45.03% 0.193 314.5)
XYZxyz(14.7697, 7.6788, 32.5959)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209D #429D20
analogous
#3D209D #7B209D #9D2081
triadic
#7B209D #9D7B20 #209D7B
tetradic
#7B209D #9D3D20 #429D20 #20819D
square
#7B209D #9D3D20 #429D20 #20819D
split-complementary
#7B209D #819D20 #209D3D
monochromatic
#2B0B37 #53166A #7B209D #A32AD0 #BA5ADD

Accessibility & contrast

On white

8.28
#7B209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7B209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B209D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209D#FFFFFF#000000##FFFFFF
##7B209D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#17509A
Tritanopia (blue-blind)
#783E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b209d;
/* rgb */ color: rgb(123, 32, 157);
/* oklch */ color: oklch(45.0% 0.193 314.5);
Tailwind
colors: {
  custom: {
    50: '#a567bb',
    500: '#7b209d',
    950: '#000000',
  },
}
SCSS
$custom: #7b209d;
$custom-light: #a567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209d",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 283.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.19339,
    "h": 314.5
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#7B209D
secondary
#74C157
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B209D

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

Preview Lab → · Contrast checker → · Palette generator →

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