#8F66EF#8F66EF

#8F66EF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.197 H 293.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F66EF
RGBrgb(143, 102, 239)
HSLhsl(258, 81%, 67%)
HSVhsv(258, 57%, 94%)
CMYKcmyk(40.2%, 57.3%, 0%, 6.3%)
CIE-LABlab(53.57, 46.70, -63.58)
CIE-LCHlch(53.57, 78.89, 306.30°)
OKLaboklab(61.94% 0.0791 -0.1809)
OKLCHoklch(61.94% 0.197 293.6)
XYZxyz(31.6549, 21.5736, 84.1409)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66EF #C6EF66
analogous
#6682EF #8F66EF #D366EF
triadic
#8F66EF #EF8F66 #66EF8F
tetradic
#8F66EF #EF6682 #C6EF66 #66EFD3
square
#8F66EF #EF6682 #C6EF66 #66EFD3
split-complementary
#8F66EF #EFD366 #82EF66
monochromatic
#4A15C6 #662FE9 #8F66EF #B89DF5 #E0D5FB

Accessibility & contrast

On white

3.95
#8F66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8F66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66EF#FFFFFF#000000##000000
##8F66EF1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F4
Deuteranopia (green-blind)
#257EEC
Tritanopia (blue-blind)
#7684A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f66ef;
/* rgb */ color: rgb(143, 102, 239);
/* oklch */ color: oklch(61.9% 0.197 293.6);
Tailwind
colors: {
  custom: {
    50: '#b593f5',
    500: '#8f66ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f66ef;
$custom-light: #b593f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66ef",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 257.956,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.19745,
    "h": 293.6
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#8F66EF
secondary
#E1EEC2
accent
#DD089E
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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