#8F6FF5#8F6FF5

#8F6FF5 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.8% C 0.192 H 290.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F6FF5
RGBrgb(143, 111, 245)
HSLhsl(254, 87%, 70%)
HSVhsv(254, 55%, 96%)
CMYKcmyk(41.6%, 54.7%, 0%, 3.9%)
CIE-LABlab(55.89, 43.29, -63.19)
CIE-LCHlch(55.89, 76.60, 304.41°)
OKLaboklab(63.77% 0.0688 -0.1798)
OKLCHoklch(63.77% 0.192 290.9)
XYZxyz(33.4890, 23.8001, 89.1979)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6FF5 #D5F56F
analogous
#6F92F5 #8F6FF5 #D26FF5
triadic
#8F6FF5 #F58F6F #6FF58F
tetradic
#8F6FF5 #F56F92 #D5F56F #6FF5D2
square
#8F6FF5 #F56F92 #D5F56F #6FF5D2
split-complementary
#8F6FF5 #F5D26F #92F56F
monochromatic
#400FDA #6236F1 #8F6FF5 #BCA8F9 #E8E1FD

Accessibility & contrast

On white

3.65
#8F6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8F6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6FF5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6FF5#FFFFFF#000000##000000
##8F6FF51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#3083F2
Tritanopia (blue-blind)
#728CA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f6ff5;
/* rgb */ color: rgb(143, 111, 245);
/* oklch */ color: oklch(63.8% 0.192 290.9);
Tailwind
colors: {
  custom: {
    50: '#b599f9',
    500: '#8f6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8f6ff5;
$custom-light: #b599f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6ff5",
  "rgb": {
    "r": 143,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 254.328,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.19247,
    "h": 290.9
  },
  "luminance": 0.23801
}

Semantic roles & 50–950 ramp

primary
#8F6FF5
secondary
#EAF3CD
accent
#E402AE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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