#8F6FD4#8F6FD4

#8F6FD4 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.7% C 0.150 H 296.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F6FD4
RGBrgb(143, 111, 212)
HSLhsl(259, 54%, 63%)
HSVhsv(259, 48%, 83%)
CMYKcmyk(32.5%, 47.6%, 0%, 16.9%)
CIE-LABlab(53.99, 34.53, -47.73)
CIE-LCHlch(53.99, 58.91, 305.88°)
OKLaboklab(61.74% 0.0666 -0.1344)
OKLCHoklch(61.74% 0.15 296.3)
XYZxyz(28.8929, 21.9616, 64.9914)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6FD4 #B4D46F
analogous
#6F81D4 #8F6FD4 #C16FD4
triadic
#8F6FD4 #D48F6F #6FD48F
tetradic
#8F6FD4 #D46F81 #B4D46F #6FD4C1
square
#8F6FD4 #D46F81 #B4D46F #6FD4C1
split-complementary
#8F6FD4 #D4C16F #81D46F
monochromatic
#502E9A #6A40C6 #8F6FD4 #B49EE2 #D8CDF0

Accessibility & contrast

On white

3.89
#8F6FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8F6FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6FD4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6FD4#FFFFFF#000000##000000
##8F6FD41.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#5480D2
Tritanopia (blue-blind)
#808297
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f6fd4;
/* rgb */ color: rgb(143, 111, 212);
/* oklch */ color: oklch(61.7% 0.150 296.3);
Tailwind
colors: {
  custom: {
    50: '#b399e2',
    500: '#8f6fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f6fd4;
$custom-light: #b399e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6fd4",
  "rgb": {
    "r": 143,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 259.01,
    "s": 54.011,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.15001,
    "h": 296.3
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#8F6FD4
secondary
#D6E1BD
accent
#C12490
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F6FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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