#8F37D9#8F37D9

#8F37D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.232 H 304.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8F37D9
RGBrgb(143, 55, 217)
HSLhsl(273, 68%, 53%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(34.1%, 74.7%, 0%, 14.9%)
CIE-LABlab(43.63, 64.26, -67.24)
CIE-LCHlch(43.63, 93.01, 313.70°)
OKLaboklab(54.3% 0.1304 -0.1915)
OKLCHoklch(54.3% 0.232 304.2)
XYZxyz(25.2154, 13.5819, 66.9253)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37D9 #81D937
analogous
#3E37D9 #8F37D9 #D937D2
triadic
#8F37D9 #D98F37 #37D98F
tetradic
#8F37D9 #D93E37 #81D937 #37D2D9
square
#8F37D9 #D93E37 #81D937 #37D2D9
split-complementary
#8F37D9 #D2D937 #37D93E
monochromatic
#4F187E #7022B1 #8F37D9 #AC6AE3 #C99EED

Accessibility & contrast

On white

5.65
#8F37D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8F37D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37D9#FFFFFF#000000##FFFFFF
##8F37D91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#816086
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f37d9;
/* rgb */ color: rgb(143, 55, 217);
/* oklch */ color: oklch(54.3% 0.232 304.2);
Tailwind
colors: {
  custom: {
    50: '#b677e6',
    500: '#8f37d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f37d9;
$custom-light: #b677e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37d9",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 272.593,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.23172,
    "h": 304.2
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#8F37D9
secondary
#B3D993
accent
#EB3D8C
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F37D9

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

Preview Lab → · Contrast checker → · Palette generator →

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