#8F37D8#8F37D8

#8F37D8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.231 H 304.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F37D8
RGBrgb(143, 55, 216)
HSLhsl(273, 67%, 53%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(33.8%, 74.5%, 0%, 15.3%)
CIE-LABlab(43.55, 64.04, -66.79)
CIE-LCHlch(43.55, 92.53, 313.79°)
OKLaboklab(54.22% 0.1306 -0.1902)
OKLCHoklch(54.22% 0.231 304.5)
XYZxyz(25.0857, 13.5300, 66.2424)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37D8 #80D837
analogous
#3E37D8 #8F37D8 #D837D0
triadic
#8F37D8 #D88F37 #37D88F
tetradic
#8F37D8 #D83E37 #80D837 #37D0D8
square
#8F37D8 #D83E37 #80D837 #37D0D8
split-complementary
#8F37D8 #D0D837 #37D83E
monochromatic
#4F187C #6F22B0 #8F37D8 #AC6AE2 #C89DEC

Accessibility & contrast

On white

5.67
#8F37D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F37D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37D8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37D8#FFFFFF#000000##FFFFFF
##8F37D81.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#815F85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f37d8;
/* rgb */ color: rgb(143, 55, 216);
/* oklch */ color: oklch(54.2% 0.231 304.5);
Tailwind
colors: {
  custom: {
    50: '#b677e5',
    500: '#8f37d8',
    950: '#000000',
  },
}
SCSS
$custom: #8f37d8;
$custom-light: #b677e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37d8",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 216
  },
  "hsl": {
    "h": 272.795,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.23075,
    "h": 304.5
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#8F37D8
secondary
#B2D893
accent
#EA3E8C
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F37D8

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

Preview Lab → · Contrast checker → · Palette generator →

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