#8F5DF7#8F5DF7

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

Color values

HEX#8F5DF7
RGBrgb(143, 93, 247)
HSLhsl(259, 91%, 67%)
HSVhsv(259, 62%, 97%)
CMYKcmyk(42.1%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.27, 53.67, -70.15)
CIE-LCHlch(52.27, 88.33, 307.42°)
OKLaboklab(61.16% 0.0886 -0.2002)
OKLCHoklch(61.16% 0.219 293.9)
XYZxyz(32.0260, 20.3829, 90.2246)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DF7 #C5F75D
analogous
#5D78F7 #8F5DF7 #DC5DF7
triadic
#8F5DF7 #F78F5D #5DF78F
tetradic
#8F5DF7 #F75D78 #C5F75D #5DF7DC
square
#8F5DF7 #F75D78 #C5F75D #5DF7DC
split-complementary
#8F5DF7 #F7DC5D #78F75D
monochromatic
#4A0ACF #6723F4 #8F5DF7 #B797FA #E0D2FD

Accessibility & contrast

On white

4.14
#8F5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8F5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DF7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DF7#FFFFFF#000000##000000
##8F5DF71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#7380A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5df7;
/* rgb */ color: rgb(143, 93, 247);
/* oklch */ color: oklch(61.2% 0.219 293.9);
Tailwind
colors: {
  custom: {
    50: '#b78dfb',
    500: '#8f5df7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5df7;
$custom-light: #b78dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5df7",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 259.481,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61157,
    "c": 0.21898,
    "h": 293.9
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#8F5DF7
secondary
#E1F1BF
accent
#E6009B
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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