#7F2E90#7F2E90

#7F2E90 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.167 H 320.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7F2E90
RGBrgb(127, 46, 144)
HSLhsl(290, 52%, 37%)
HSVhsv(290, 68%, 56%)
CMYKcmyk(11.8%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.96, 49.10, -38.15)
CIE-LCHlch(34.96, 62.18, 322.15°)
OKLaboklab(46.06% 0.1281 -0.1066)
OKLCHoklch(46.06% 0.167 320.2)
XYZxyz(14.7628, 8.4804, 27.2394)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E90 #3F902E
analogous
#4E2E90 #7F2E90 #902E70
triadic
#7F2E90 #907F2E #2E907F
tetradic
#7F2E90 #904E2E #3F902E #2E7090
square
#7F2E90 #904E2E #3F902E #2E7090
split-complementary
#7F2E90 #70902E #2E904E
monochromatic
#2D1033 #561F62 #7F2E90 #A83DBE #BD69CF

Accessibility & contrast

On white

7.79
#7F2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E90
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E90#FFFFFF#000000##FFFFFF
##7F2E901.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#803F5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f2e90;
/* rgb */ color: rgb(127, 46, 144);
/* oklch */ color: oklch(46.1% 0.167 320.2);
Tailwind
colors: {
  custom: {
    50: '#a76db1',
    500: '#7f2e90',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e90;
$custom-light: #a76db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e90",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 289.592,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46062,
    "c": 0.16666,
    "h": 320.2
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#7F2E90
secondary
#72B664
accent
#DB4D65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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