#7F2D90#7F2D90

#7F2D90 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 320.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7F2D90
RGBrgb(127, 45, 144)
HSLhsl(290, 52%, 37%)
HSVhsv(290, 69%, 56%)
CMYKcmyk(11.8%, 68.7%, 0%, 43.5%)
CIE-LABlab(34.81, 49.53, -38.40)
CIE-LCHlch(34.81, 62.67, 322.22°)
OKLaboklab(45.95% 0.1293 -0.1073)
OKLCHoklch(45.95% 0.168 320.3)
XYZxyz(14.7242, 8.4031, 27.2265)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D90 #3E902D
analogous
#4E2D90 #7F2D90 #902D70
triadic
#7F2D90 #907F2D #2D907F
tetradic
#7F2D90 #904E2D #3E902D #2D7090
square
#7F2D90 #904E2D #3E902D #2D7090
split-complementary
#7F2D90 #70902D #2D904E
monochromatic
#2D1033 #561E61 #7F2D90 #A83CBF #BE68D0

Accessibility & contrast

On white

7.83
#7F2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7F2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D90
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D90#FFFFFF#000000##FFFFFF
##7F2D901.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C93
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#803F5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f2d90;
/* rgb */ color: rgb(127, 45, 144);
/* oklch */ color: oklch(46.0% 0.168 320.3);
Tailwind
colors: {
  custom: {
    50: '#a76db1',
    500: '#7f2d90',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d90;
$custom-light: #a76db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d90",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 289.697,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.16802,
    "h": 320.3
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#7F2D90
secondary
#71B662
accent
#DC4C65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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