#7B208E#7B208E

#7B208E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.180 H 320.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7B208E
RGBrgb(123, 32, 142)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 56%)
CMYKcmyk(13.4%, 77.5%, 0%, 44.3%)
CIE-LABlab(32.25, 53.32, -41.30)
CIE-LCHlch(32.25, 67.44, 322.24°)
OKLaboklab(43.96% 0.1379 -0.1159)
OKLCHoklch(43.96% 0.18 320)
XYZxyz(13.5668, 7.1977, 26.2606)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B208E #338E20
analogous
#44208E #7B208E #8E206A
triadic
#7B208E #8E7B20 #208E7B
tetradic
#7B208E #8E4420 #338E20 #206A8E
square
#7B208E #8E4420 #338E20 #206A8E
split-complementary
#7B208E #6A8E20 #208E44
monochromatic
#24092A #50155C #7B208E #A62BC0 #C051D8

Accessibility & contrast

On white

8.61
#7B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7B208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B208E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B208E#FFFFFF#000000##FFFFFF
##7B208E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#7B3756
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b208e;
/* rgb */ color: rgb(123, 32, 142);
/* oklch */ color: oklch(44.0% 0.180 320.0);
Tailwind
colors: {
  custom: {
    50: '#a566b0',
    500: '#7b208e',
    950: '#000000',
  },
}
SCSS
$custom: #7b208e;
$custom-light: #a566b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b208e",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 289.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.18011,
    "h": 320
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#7B208E
secondary
#62BB4F
accent
#E6425E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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