#8F4DD9#8F4DD9

#8F4DD9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.206 H 301.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD9
RGBrgb(143, 77, 217)
HSLhsl(268, 65%, 58%)
HSVhsv(268, 65%, 85%)
CMYKcmyk(34.1%, 64.5%, 0%, 14.9%)
CIE-LABlab(47.18, 54.33, -61.48)
CIE-LCHlch(47.18, 82.04, 311.47°)
OKLaboklab(56.83% 0.1085 -0.1747)
OKLCHoklch(56.83% 0.206 301.8)
XYZxyz(26.5030, 16.1571, 67.3545)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD9 #97D94D
analogous
#4D51D9 #8F4DD9 #D54DD9
triadic
#8F4DD9 #D98F4D #4DD98F
tetradic
#8F4DD9 #D94D51 #97D94D #4DD9D5
square
#8F4DD9 #D94D51 #97D94D #4DD9D5
split-complementary
#8F4DD9 #D9D54D #51D94D
monochromatic
#531E8D #7029C0 #8F4DD9 #AF7FE4 #CEB2EF

Accessibility & contrast

On white

4.96
#8F4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8F4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD9#FFFFFF#000000##FFFFFF
##8F4DD91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#806C8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4dd9;
/* rgb */ color: rgb(143, 77, 217);
/* oklch */ color: oklch(56.8% 0.206 301.8);
Tailwind
colors: {
  custom: {
    50: '#b583e6',
    500: '#8f4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd9;
$custom-light: #b583e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd9",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 268.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.20568,
    "h": 301.8
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#8F4DD9
secondary
#C3DDA5
accent
#E84099
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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