#8F3DD9#8F3DD9

#8F3DD9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.225 H 303.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F3DD9
RGBrgb(143, 61, 217)
HSLhsl(272, 67%, 55%)
HSVhsv(272, 72%, 85%)
CMYKcmyk(34.1%, 71.9%, 0%, 14.9%)
CIE-LABlab(44.50, 61.78, -65.82)
CIE-LCHlch(44.50, 90.28, 313.19°)
OKLaboklab(54.91% 0.125 -0.1874)
OKLCHoklch(54.91% 0.225 303.7)
XYZxyz(25.5179, 14.1869, 67.0262)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD9 #87D93D
analogous
#413DD9 #8F3DD9 #D93DD5
triadic
#8F3DD9 #D98F3D #3DD98F
tetradic
#8F3DD9 #D9413D #87D93D #3DD5D9
square
#8F3DD9 #D9413D #87D93D #3DD5D9
split-complementary
#8F3DD9 #D5D93D #3DD941
monochromatic
#501982 #7024B5 #8F3DD9 #AD70E3 #CAA3ED

Accessibility & contrast

On white

5.47
#8F3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD9#FFFFFF#000000##FFFFFF
##8F3DD91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#806388
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3dd9;
/* rgb */ color: rgb(143, 61, 217);
/* oklch */ color: oklch(54.9% 0.225 303.7);
Tailwind
colors: {
  custom: {
    50: '#b67ae6',
    500: '#8f3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd9;
$custom-light: #b67ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd9",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 271.538,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.22525,
    "h": 303.7
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#8F3DD9
secondary
#B7DA98
accent
#EA3E8F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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