#8F5DF8#8F5DF8

#8F5DF8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.220 H 293.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F5DF8
RGBrgb(143, 93, 248)
HSLhsl(259, 92%, 67%)
HSVhsv(259, 63%, 97%)
CMYKcmyk(42.3%, 62.5%, 0%, 2.7%)
CIE-LABlab(52.34, 53.94, -70.60)
CIE-LCHlch(52.34, 88.84, 307.38°)
OKLaboklab(61.23% 0.0886 -0.2015)
OKLCHoklch(61.23% 0.22 293.7)
XYZxyz(32.1807, 20.4448, 91.0394)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DF8 #C6F85D
analogous
#5D79F8 #8F5DF8 #DD5DF8
triadic
#8F5DF8 #F88F5D #5DF88F
tetradic
#8F5DF8 #F85D79 #C6F85D #5DF8DD
square
#8F5DF8 #F85D79 #C6F85D #5DF8DD
split-complementary
#8F5DF8 #F8DD5D #79F85D
monochromatic
#4A09D2 #6622F5 #8F5DF8 #B898FB #E0D2FD

Accessibility & contrast

On white

4.13
#8F5DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8F5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DF8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DF8#FFFFFF#000000##000000
##8F5DF81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#7281A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5df8;
/* rgb */ color: rgb(143, 93, 248);
/* oklch */ color: oklch(61.2% 0.220 293.7);
Tailwind
colors: {
  custom: {
    50: '#b78dfb',
    500: '#8f5df8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5df8;
$custom-light: #b78dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5df8",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 259.355,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.22014,
    "h": 293.7
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#8F5DF8
secondary
#E1F1C0
accent
#E6009B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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