#8F5DF6#8F5DF6

#8F5DF6 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.218 H 294.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F5DF6
RGBrgb(143, 93, 246)
HSLhsl(260, 89%, 66%)
HSVhsv(260, 62%, 96%)
CMYKcmyk(41.9%, 62.2%, 0%, 3.5%)
CIE-LABlab(52.20, 53.41, -69.71)
CIE-LCHlch(52.20, 87.82, 307.46°)
OKLaboklab(61.09% 0.0887 -0.1989)
OKLCHoklch(61.09% 0.218 294)
XYZxyz(31.8721, 20.3213, 89.4141)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DF6 #C4F65D
analogous
#5D78F6 #8F5DF6 #DC5DF6
triadic
#8F5DF6 #F68F5D #5DF68F
tetradic
#8F5DF6 #F65D78 #C4F65D #5DF6DC
square
#8F5DF6 #F65D78 #C4F65D #5DF6DC
split-complementary
#8F5DF6 #F6DC5D #78F65D
monochromatic
#4B0BCD #6723F3 #8F5DF6 #B797F9 #DFD1FC

Accessibility & contrast

On white

4.15
#8F5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DF6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DF6#FFFFFF#000000##000000
##8F5DF61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#7380A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5df6;
/* rgb */ color: rgb(143, 93, 246);
/* oklch */ color: oklch(61.1% 0.218 294.0);
Tailwind
colors: {
  custom: {
    50: '#b68dfa',
    500: '#8f5df6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5df6;
$custom-light: #b68dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5df6",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 259.608,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.21781,
    "h": 294
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#8F5DF6
secondary
#E0F0BF
accent
#E6009A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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