#8F5DF9#8F5DF9

#8F5DF9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.221 H 293.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F5DF9
RGBrgb(143, 93, 249)
HSLhsl(259, 93%, 67%)
HSVhsv(259, 63%, 98%)
CMYKcmyk(42.6%, 62.7%, 0%, 2.4%)
CIE-LABlab(52.41, 54.20, -71.04)
CIE-LCHlch(52.41, 89.35, 307.34°)
OKLaboklab(61.3% 0.0885 -0.2028)
OKLCHoklch(61.3% 0.221 293.6)
XYZxyz(32.3363, 20.5070, 91.8587)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DF9 #C7F95D
analogous
#5D79F9 #8F5DF9 #DD5DF9
triadic
#8F5DF9 #F98F5D #5DF98F
tetradic
#8F5DF9 #F95D79 #C7F95D #5DF9DD
square
#8F5DF9 #F95D79 #C7F95D #5DF9DD
split-complementary
#8F5DF9 #F9DD5D #79F95D
monochromatic
#4908D4 #6622F7 #8F5DF9 #B898FB #E1D3FD

Accessibility & contrast

On white

4.12
#8F5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8F5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DF9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DF9#FFFFFF#000000##000000
##8F5DF91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#7281A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5df9;
/* rgb */ color: rgb(143, 93, 249);
/* oklch */ color: oklch(61.3% 0.221 293.6);
Tailwind
colors: {
  custom: {
    50: '#b78dfc',
    500: '#8f5df9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5df9;
$custom-light: #b78dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5df9",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 259.231,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.2213,
    "h": 293.6
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#8F5DF9
secondary
#E2F2C0
accent
#E6009C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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