#8F37CB#8F37CB

#8F37CB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.218 H 307.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F37CB
RGBrgb(143, 55, 203)
HSLhsl(276, 59%, 51%)
HSVhsv(276, 73%, 80%)
CMYKcmyk(29.6%, 72.9%, 0%, 20.4%)
CIE-LABlab(42.59, 61.16, -60.87)
CIE-LCHlch(42.59, 86.28, 315.13°)
OKLaboklab(53.24% 0.1331 -0.1728)
OKLCHoklch(53.24% 0.218 307.6)
XYZxyz(23.4711, 12.8841, 57.7388)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37CB #73CB37
analogous
#4537CB #8F37CB #CB37BD
triadic
#8F37CB #CB8F37 #37CB8F
tetradic
#8F37CB #CB4537 #73CB37 #37BDCB
square
#8F37CB #CB4537 #73CB37 #37BDCB
split-complementary
#8F37CB #BDCB37 #37CB45
monochromatic
#4B1C6C #6D299C #8F37CB #AA68D8 #C598E4

Accessibility & contrast

On white

5.87
#8F37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37CB#FFFFFF#000000##FFFFFF
##8F37CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#855A7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f37cb;
/* rgb */ color: rgb(143, 55, 203);
/* oklch */ color: oklch(53.2% 0.218 307.6);
Tailwind
colors: {
  custom: {
    50: '#b576dc',
    500: '#8f37cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f37cb;
$custom-light: #b576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37cb",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 275.676,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.21813,
    "h": 307.6
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#8F37CB
secondary
#A9D08E
accent
#E24685
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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