#8F6AE2#8F6AE2

#8F6AE2 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.176 H 295.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F6AE2
RGBrgb(143, 106, 226)
HSLhsl(259, 67%, 65%)
HSVhsv(259, 53%, 89%)
CMYKcmyk(36.7%, 53.1%, 0%, 11.4%)
CIE-LABlab(53.64, 41.03, -56.18)
CIE-LCHlch(53.64, 69.57, 306.14°)
OKLaboklab(61.74% 0.0741 -0.1592)
OKLCHoklch(61.74% 0.176 295)
XYZxyz(30.2056, 21.6381, 74.5219)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6AE2 #BDE26A
analogous
#6A81E2 #8F6AE2 #CB6AE2
triadic
#8F6AE2 #E28F6A #6AE28F
tetradic
#8F6AE2 #E26A81 #BDE26A #6AE2CB
square
#8F6AE2 #E26A81 #BDE26A #6AE2CB
split-complementary
#8F6AE2 #E2CB6A #81E26A
monochromatic
#4E22AF #6837D8 #8F6AE2 #B69DEC #DCD0F6

Accessibility & contrast

On white

3.94
#8F6AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8F6AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6AE2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6AE2#FFFFFF#000000##000000
##8F6AE21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#7B829C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f6ae2;
/* rgb */ color: rgb(143, 106, 226);
/* oklch */ color: oklch(61.7% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#b495ec',
    500: '#8f6ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8f6ae2;
$custom-light: #b495ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6ae2",
  "rgb": {
    "r": 143,
    "g": 106,
    "b": 226
  },
  "hsl": {
    "h": 258.5,
    "s": 67.416,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.17559,
    "h": 295
  },
  "luminance": 0.21639
}

Semantic roles & 50–950 ramp

primary
#8F6AE2
secondary
#DCE8C0
accent
#CF1696
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F6AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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