#8F2EB7#8F2EB7

#8F2EB7 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 313.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F2EB7
RGBrgb(143, 46, 183)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(21.9%, 74.9%, 0%, 28.2%)
CIE-LABlab(39.94, 60.44, -53.47)
CIE-LCHlch(39.94, 80.70, 318.50°)
OKLaboklab(50.92% 0.1448 -0.151)
OKLCHoklch(50.92% 0.209 313.8)
XYZxyz(20.8505, 11.2132, 45.8566)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EB7 #56B72E
analogous
#4B2EB7 #8F2EB7 #B72E9A
triadic
#8F2EB7 #B78F2E #2EB78F
tetradic
#8F2EB7 #B74B2E #56B72E #2E9AB7
square
#8F2EB7 #B74B2E #56B72E #2E9AB7
split-complementary
#8F2EB7 #9AB72E #2EB74B
monochromatic
#431555 #692286 #8F2EB7 #AC4FD3 #C380DF

Accessibility & contrast

On white

6.48
#8F2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EB7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EB7#FFFFFF#000000##FFFFFF
##8F2EB71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#8B4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2eb7;
/* rgb */ color: rgb(143, 46, 183);
/* oklch */ color: oklch(50.9% 0.209 313.8);
Tailwind
colors: {
  custom: {
    50: '#b471cd',
    500: '#8f2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eb7;
$custom-light: #b471cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eb7",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 282.482,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.20922,
    "h": 313.8
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#8F2EB7
secondary
#90C879
accent
#E34573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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