#8F1EB4#8F1EB4

#8F1EB4 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.221 H 315.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1EB4
RGBrgb(143, 30, 180)
HSLhsl(285, 71%, 41%)
HSVhsv(285, 83%, 71%)
CMYKcmyk(20.6%, 83.3%, 0%, 29.4%)
CIE-LABlab(37.96, 64.96, -54.90)
CIE-LCHlch(37.96, 85.05, 319.80°)
OKLaboklab(49.46% 0.1581 -0.1551)
OKLCHoklch(49.46% 0.221 315.5)
XYZxyz(20.0289, 10.0643, 44.0587)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1EB4 #43B41E
analogous
#441EB4 #8F1EB4 #B41E8E
triadic
#8F1EB4 #B48F1E #1EB48F
tetradic
#8F1EB4 #B4441E #43B41E #1E8EB4
square
#8F1EB4 #B4441E #43B41E #1E8EB4
split-complementary
#8F1EB4 #8EB41E #1EB444
monochromatic
#3C0D4B #651580 #8F1EB4 #B332DD #C667E6

Accessibility & contrast

On white

6.97
#8F1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F1EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1EB4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1EB4#FFFFFF#000000##FFFFFF
##8F1EB41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#8C446C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f1eb4;
/* rgb */ color: rgb(143, 30, 180);
/* oklch */ color: oklch(49.5% 0.221 315.5);
Tailwind
colors: {
  custom: {
    50: '#b56acb',
    500: '#8f1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f1eb4;
$custom-light: #b56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1eb4",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 285.2,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.22146,
    "h": 315.5
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#8F1EB4
secondary
#7DCB63
accent
#EE3A66
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8F1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

#8F1EB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva