#8F66EB#8F66EB

#8F66EB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.193 H 294.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F66EB
RGBrgb(143, 102, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(39.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.32, 45.64, -61.75)
CIE-LCHlch(53.32, 76.79, 306.47°)
OKLaboklab(61.68% 0.0791 -0.1755)
OKLCHoklch(61.68% 0.193 294.3)
XYZxyz(31.0705, 21.3398, 81.0631)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66EB #C2EB66
analogous
#667FEB #8F66EB #D166EB
triadic
#8F66EB #EB8F66 #66EB8F
tetradic
#8F66EB #EB667F #C2EB66 #66EBD1
square
#8F66EB #EB667F #C2EB66 #66EBD1
split-complementary
#8F66EB #EBD166 #7FEB66
monochromatic
#4C19BE #6730E4 #8F66EB #B79CF2 #DED2F9

Accessibility & contrast

On white

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

On black

5.27
#8F66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66EB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66EB#FFFFFF#000000##000000
##8F66EB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#77829F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f66eb;
/* rgb */ color: rgb(143, 102, 235);
/* oklch */ color: oklch(61.7% 0.193 294.3);
Tailwind
colors: {
  custom: {
    50: '#b593f2',
    500: '#8f66eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f66eb;
$custom-light: #b593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66eb",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 258.496,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.19255,
    "h": 294.3
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#8F66EB
secondary
#DFECC1
accent
#D90C9A
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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