#7B208D#7B208D

#7B208D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.179 H 320.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7B208D
RGBrgb(123, 32, 141)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 55%)
CMYKcmyk(12.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.19, 53.13, -40.79)
CIE-LCHlch(32.19, 66.98, 322.48°)
OKLaboklab(43.89% 0.138 -0.1144)
OKLCHoklch(43.89% 0.179 320.4)
XYZxyz(13.4920, 7.1678, 25.8670)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B208D #328D20
analogous
#45208D #7B208D #8D2069
triadic
#7B208D #8D7B20 #208D7B
tetradic
#7B208D #8D4520 #328D20 #20698D
square
#7B208D #8D4520 #328D20 #20698D
split-complementary
#7B208D #698D20 #208D45
monochromatic
#240929 #4F155B #7B208D #A72BBF #C150D7

Accessibility & contrast

On white

8.63
#7B208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B208D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B208D#FFFFFF#000000##FFFFFF
##7B208D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#7C3655
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b208d;
/* rgb */ color: rgb(123, 32, 141);
/* oklch */ color: oklch(43.9% 0.179 320.4);
Tailwind
colors: {
  custom: {
    50: '#a566af',
    500: '#7b208d',
    950: '#000000',
  },
}
SCSS
$custom: #7b208d;
$custom-light: #a566af;
$custom-dark: #000000;
JSON
{
  "hex": "#7b208d",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 290.092,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.17924,
    "h": 320.4
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#7B208D
secondary
#60BA4E
accent
#E6425D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B208D

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

Preview Lab → · Contrast checker → · Palette generator →

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