#7B209F#7B209F

#7B209F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.195 H 313.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7B209F
RGBrgb(123, 32, 159)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 80%, 62%)
CMYKcmyk(22.6%, 79.9%, 0%, 37.6%)
CIE-LABlab(33.45, 56.70, -49.76)
CIE-LCHlch(33.45, 75.44, 318.73°)
OKLaboklab(45.18% 0.1353 -0.1407)
OKLCHoklch(45.18% 0.195 313.9)
XYZxyz(14.9418, 7.7477, 33.5025)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209F #449F20
analogous
#3B209F #7B209F #9F2084
triadic
#7B209F #9F7B20 #209F7B
tetradic
#7B209F #9F3B20 #449F20 #20849F
square
#7B209F #9F3B20 #449F20 #20849F
split-complementary
#7B209F #849F20 #209F3B
monochromatic
#2C0B39 #54166C #7B209F #A22AD2 #B95BDE

Accessibility & contrast

On white

8.24
#7B209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7B209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B209F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209F#FFFFFF#000000##FFFFFF
##7B209F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#12519C
Tritanopia (blue-blind)
#773F60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b209f;
/* rgb */ color: rgb(123, 32, 159);
/* oklch */ color: oklch(45.2% 0.195 313.9);
Tailwind
colors: {
  custom: {
    50: '#a667bc',
    500: '#7b209f',
    950: '#000000',
  },
}
SCSS
$custom: #7b209f;
$custom-light: #a667bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209f",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 282.992,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.19517,
    "h": 313.9
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#7B209F
secondary
#77C259
accent
#E93E6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B209F

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

Preview Lab → · Contrast checker → · Palette generator →

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