#8F66EA#8F66EA

#8F66EA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.191 H 294.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F66EA
RGBrgb(143, 102, 234)
HSLhsl(259, 76%, 66%)
HSVhsv(259, 56%, 92%)
CMYKcmyk(38.9%, 56.4%, 0%, 8.2%)
CIE-LABlab(53.26, 45.38, -61.29)
CIE-LCHlch(53.26, 76.26, 306.52°)
OKLaboklab(61.61% 0.0791 -0.1742)
OKLCHoklch(61.61% 0.191 294.4)
XYZxyz(30.9264, 21.2822, 80.3044)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66EA #C1EA66
analogous
#667FEA #8F66EA #D166EA
triadic
#8F66EA #EA8F66 #66EA8F
tetradic
#8F66EA #EA667F #C1EA66 #66EAD1
square
#8F66EA #EA667F #C1EA66 #66EAD1
split-complementary
#8F66EA #EAD166 #7FEA66
monochromatic
#4C1ABC #6830E3 #8F66EA #B69CF1 #DED2F9

Accessibility & contrast

On white

3.99
#8F66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8F66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66EA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66EA#FFFFFF#000000##000000
##8F66EA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80EE
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#78829E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f66ea;
/* rgb */ color: rgb(143, 102, 234);
/* oklch */ color: oklch(61.6% 0.191 294.4);
Tailwind
colors: {
  custom: {
    50: '#b593f1',
    500: '#8f66ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f66ea;
$custom-light: #b593f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66ea",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 258.636,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.19132,
    "h": 294.4
  },
  "luminance": 0.21283
}

Semantic roles & 50–950 ramp

primary
#8F66EA
secondary
#DEECC0
accent
#D80D99
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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