#7B209E#7B209E

#7B209E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.194 H 314.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7B209E
RGBrgb(123, 32, 158)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 80%, 62%)
CMYKcmyk(22.2%, 79.7%, 0%, 38%)
CIE-LABlab(33.38, 56.49, -49.27)
CIE-LCHlch(33.38, 74.96, 318.91°)
OKLaboklab(45.11% 0.1355 -0.1393)
OKLCHoklch(45.11% 0.194 314.2)
XYZxyz(14.8554, 7.7131, 33.0474)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B209E #439E20
analogous
#3C209E #7B209E #9E2082
triadic
#7B209E #9E7B20 #209E7B
tetradic
#7B209E #9E3C20 #439E20 #20829E
square
#7B209E #9E3C20 #439E20 #20829E
split-complementary
#7B209E #829E20 #209E3C
monochromatic
#2C0B38 #53166B #7B209E #A32AD1 #B95BDE

Accessibility & contrast

On white

8.26
#7B209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B209E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B209E#FFFFFF#000000##FFFFFF
##7B209E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#14519B
Tritanopia (blue-blind)
#783E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b209e;
/* rgb */ color: rgb(123, 32, 158);
/* oklch */ color: oklch(45.1% 0.194 314.2);
Tailwind
colors: {
  custom: {
    50: '#a667bb',
    500: '#7b209e',
    950: '#000000',
  },
}
SCSS
$custom: #7b209e;
$custom-light: #a667bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b209e",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 283.333,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.19428,
    "h": 314.2
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#7B209E
secondary
#75C258
accent
#E93F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B209E

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

Preview Lab → · Contrast checker → · Palette generator →

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