#8F37E2#8F37E2

#8F37E2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.0% C 0.240 H 302.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F37E2
RGBrgb(143, 55, 226)
HSLhsl(271, 75%, 55%)
HSVhsv(271, 76%, 89%)
CMYKcmyk(36.7%, 75.7%, 0%, 11.4%)
CIE-LABlab(44.32, 66.29, -71.25)
CIE-LCHlch(44.32, 97.32, 312.94°)
OKLaboklab(55% 0.1284 -0.2033)
OKLCHoklch(55% 0.24 302.3)
XYZxyz(26.4181, 14.0629, 73.2594)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37E2 #8AE237
analogous
#3937E2 #8F37E2 #E237DF
triadic
#8F37E2 #E28F37 #37E28F
tetradic
#8F37E2 #E23937 #8AE237 #37DFE2
square
#8F37E2 #E23937 #8AE237 #37DFE2
split-complementary
#8F37E2 #DFE237 #37E239
monochromatic
#51148B #701CC0 #8F37E2 #AD6CEA #CBA2F2

Accessibility & contrast

On white

5.51
#8F37E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F37E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37E2#FFFFFF#000000##FFFFFF
##8F37E21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#7D648B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f37e2;
/* rgb */ color: rgb(143, 55, 226);
/* oklch */ color: oklch(55.0% 0.240 302.3);
Tailwind
colors: {
  custom: {
    50: '#b777ec',
    500: '#8f37e2',
    950: '#000000',
  },
}
SCSS
$custom: #8f37e2;
$custom-light: #b777ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37e2",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 270.877,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.24044,
    "h": 302.3
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#8F37E2
secondary
#B9DE97
accent
#F13791
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F37E2

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

Preview Lab → · Contrast checker → · Palette generator →

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