#7B208B#7B208B

#7B208B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.177 H 321.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7B208B
RGBrgb(123, 32, 139)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 55%)
CMYKcmyk(11.5%, 77%, 0%, 45.5%)
CIE-LABlab(32.05, 52.75, -39.76)
CIE-LCHlch(32.05, 66.06, 322.99°)
OKLaboklab(43.75% 0.1382 -0.1114)
OKLCHoklch(43.75% 0.178 321.1)
XYZxyz(13.3446, 7.1088, 25.0903)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B208B #308B20
analogous
#45208B #7B208B #8B2065
triadic
#7B208B #8B7B20 #208B7B
tetradic
#7B208B #8B4520 #308B20 #20658B
square
#7B208B #8B4520 #308B20 #20658B
split-complementary
#7B208B #658B20 #208B45
monochromatic
#230928 #4F1559 #7B208B #A72BBD #C24FD6

Accessibility & contrast

On white

8.67
#7B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B208B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B208B#FFFFFF#000000##FFFFFF
##7B208B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#7C3554
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b208b;
/* rgb */ color: rgb(123, 32, 139);
/* oklch */ color: oklch(43.8% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#a566ad',
    500: '#7b208b',
    950: '#000000',
  },
}
SCSS
$custom: #7b208b;
$custom-light: #a566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b208b",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 291.028,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.1775,
    "h": 321.1
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#7B208B
secondary
#5DBA4D
accent
#E6425B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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