#7F1DAE#7F1DAE

#7F1DAE is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.7% C 0.212 H 311.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7F1DAE
RGBrgb(127, 29, 174)
HSLhsl(281, 71%, 40%)
HSVhsv(281, 83%, 68%)
CMYKcmyk(27%, 83.3%, 0%, 31.8%)
CIE-LABlab(34.90, 61.39, -56.41)
CIE-LCHlch(34.90, 83.37, 317.42°)
OKLaboklab(46.68% 0.1394 -0.1601)
OKLCHoklch(46.68% 0.212 311.1)
XYZxyz(16.8303, 8.4472, 40.7801)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1DAE #4CAE1D
analogous
#371DAE #7F1DAE #AE1D94
triadic
#7F1DAE #AE7F1D #1DAE7F
tetradic
#7F1DAE #AE371D #4CAE1D #1D94AE
square
#7F1DAE #AE371D #4CAE1D #1D94AE
split-complementary
#7F1DAE #94AE1D #1DAE37
monochromatic
#320C45 #59147A #7F1DAE #A32CDC #BA61E5

Accessibility & contrast

On white

7.81
#7F1DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7F1DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1DAE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1DAE#FFFFFF#000000##FFFFFF
##7F1DAE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#794468
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f1dae;
/* rgb */ color: rgb(127, 29, 174);
/* oklch */ color: oklch(46.7% 0.212 311.1);
Tailwind
colors: {
  custom: {
    50: '#a967c7',
    500: '#7f1dae',
    950: '#000000',
  },
}
SCSS
$custom: #7f1dae;
$custom-light: #a967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1dae",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 280.552,
    "s": 71.429,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46678,
    "c": 0.21227,
    "h": 311.1
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#7F1DAE
secondary
#80C95E
accent
#EE3A74
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #7F1DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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