#8F37D0#8F37D0

#8F37D0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.223 H 306.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8F37D0
RGBrgb(143, 55, 208)
HSLhsl(275, 62%, 52%)
HSVhsv(275, 74%, 82%)
CMYKcmyk(31.3%, 73.6%, 0%, 18.4%)
CIE-LABlab(42.95, 62.26, -63.17)
CIE-LCHlch(42.95, 88.69, 314.59°)
OKLaboklab(53.61% 0.1322 -0.1795)
OKLCHoklch(53.61% 0.223 306.4)
XYZxyz(24.0766, 13.1263, 60.9275)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37D0 #78D037
analogous
#4337D0 #8F37D0 #D037C4
triadic
#8F37D0 #D08F37 #37D08F
tetradic
#8F37D0 #D04337 #78D037 #37C4D0
square
#8F37D0 #D04337 #78D037 #37C4D0
split-complementary
#8F37D0 #C4D037 #37D043
monochromatic
#4D1B72 #6E26A3 #8F37D0 #AB69DC #C79AE7

Accessibility & contrast

On white

5.79
#8F37D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F37D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37D0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37D0#FFFFFF#000000##FFFFFF
##8F37D01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#845C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f37d0;
/* rgb */ color: rgb(143, 55, 208);
/* oklch */ color: oklch(53.6% 0.223 306.4);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8f37d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f37d0;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37d0",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 274.51,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.22298,
    "h": 306.4
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#8F37D0
secondary
#ACD390
accent
#E54388
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F37D0

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

Preview Lab → · Contrast checker → · Palette generator →

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