#8F66EC#8F66EC

#8F66EC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.194 H 294.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F66EC
RGBrgb(143, 102, 236)
HSLhsl(258, 78%, 66%)
HSVhsv(258, 57%, 93%)
CMYKcmyk(39.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(53.38, 45.91, -62.21)
CIE-LCHlch(53.38, 77.31, 306.43°)
OKLaboklab(61.74% 0.0791 -0.1769)
OKLCHoklch(61.74% 0.194 294.1)
XYZxyz(31.2154, 21.3978, 81.8262)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66EC #C3EC66
analogous
#6680EC #8F66EC #D266EC
triadic
#8F66EC #EC8F66 #66EC8F
tetradic
#8F66EC #EC6680 #C3EC66 #66ECD2
square
#8F66EC #EC6680 #C3EC66 #66ECD2
split-complementary
#8F66EC #ECD266 #80EC66
monochromatic
#4B18C0 #6730E5 #8F66EC #B79CF3 #DFD3FA

Accessibility & contrast

On white

3.98
#8F66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8F66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66EC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66EC#FFFFFF#000000##000000
##8F66EC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#77839F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f66ec;
/* rgb */ color: rgb(143, 102, 236);
/* oklch */ color: oklch(61.7% 0.194 294.1);
Tailwind
colors: {
  custom: {
    50: '#b593f3',
    500: '#8f66ec',
    950: '#000000',
  },
}
SCSS
$custom: #8f66ec;
$custom-light: #b593f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66ec",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 258.358,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.19378,
    "h": 294.1
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#8F66EC
secondary
#DFEDC1
accent
#DA0B9B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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