#7F1E95#7F1E95

#7F1E95 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.190 H 319.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1E95
RGBrgb(127, 30, 149)
HSLhsl(289, 66%, 35%)
HSVhsv(289, 80%, 58%)
CMYKcmyk(14.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(33.16, 56.13, -44.11)
CIE-LCHlch(33.16, 71.39, 321.84°)
OKLaboklab(44.88% 0.1437 -0.1239)
OKLCHoklch(44.88% 0.19 319.2)
XYZxyz(14.6408, 7.6112, 29.1259)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E95 #34951E
analogous
#441E95 #7F1E95 #951E6F
triadic
#7F1E95 #957F1E #1E957F
tetradic
#7F1E95 #95441E #34951E #1E6F95
square
#7F1E95 #95441E #34951E #1E6F95
split-complementary
#7F1E95 #6F951E #1E9544
monochromatic
#28092F #541462 #7F1E95 #AA28C8 #C251DC

Accessibility & contrast

On white

8.33
#7F1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E95
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E95#FFFFFF#000000##FFFFFF
##7F1E951.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#7F385A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f1e95;
/* rgb */ color: rgb(127, 30, 149);
/* oklch */ color: oklch(44.9% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#a866b5',
    500: '#7f1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e95;
$custom-light: #a866b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e95",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 288.908,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.18978,
    "h": 319.2
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#7F1E95
secondary
#64BF50
accent
#E93E5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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