#7F2B89#7F2B89

#7F2B89 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 323.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7F2B89
RGBrgb(127, 43, 137)
HSLhsl(294, 52%, 35%)
HSVhsv(294, 69%, 54%)
CMYKcmyk(7.3%, 68.6%, 0%, 46.3%)
CIE-LABlab(34.08, 49.02, -35.25)
CIE-LCHlch(34.08, 60.38, 324.28°)
OKLaboklab(45.29% 0.1317 -0.0981)
OKLCHoklch(45.29% 0.164 323.3)
XYZxyz(14.1312, 8.0467, 24.4709)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B89 #35892B
analogous
#502B89 #7F2B89 #892B64
triadic
#7F2B89 #897F2B #2B897F
tetradic
#7F2B89 #89502B #35892B #2B6489
square
#7F2B89 #89502B #35892B #2B6489
split-complementary
#7F2B89 #64892B #2B8950
monochromatic
#290E2C #541C5A #7F2B89 #AA3AB8 #C261CD

Accessibility & contrast

On white

8.05
#7F2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7F2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B89
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B89#FFFFFF#000000##FFFFFF
##7F2B891.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#3A5387
Tritanopia (blue-blind)
#813A56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f2b89;
/* rgb */ color: rgb(127, 43, 137);
/* oklch */ color: oklch(45.3% 0.164 323.3);
Tailwind
colors: {
  custom: {
    50: '#a76cac',
    500: '#7f2b89',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b89;
$custom-light: #a76cac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b89",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 293.617,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.16422,
    "h": 323.3
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#7F2B89
secondary
#66B35C
accent
#DC4C5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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