#8F66DC#8F66DC

#8F66DC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.174 H 296.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F66DC
RGBrgb(143, 102, 220)
HSLhsl(261, 63%, 63%)
HSVhsv(261, 54%, 86%)
CMYKcmyk(35%, 53.6%, 0%, 13.7%)
CIE-LABlab(52.41, 41.72, -54.77)
CIE-LCHlch(52.41, 68.85, 307.30°)
OKLaboklab(60.71% 0.0788 -0.155)
OKLCHoklch(60.71% 0.174 296.9)
XYZxyz(28.9941, 20.5093, 70.1274)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66DC #B3DC66
analogous
#6678DC #8F66DC #CA66DC
triadic
#8F66DC #DC8F66 #66DC8F
tetradic
#8F66DC #DC6678 #B3DC66 #66DCCA
square
#8F66DC #DC6678 #B3DC66 #66DCCA
split-complementary
#8F66DC #DCCA66 #78DC66
monochromatic
#5125A2 #6B34D1 #8F66DC #B398E7 #D8CAF3

Accessibility & contrast

On white

4.12
#8F66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8F66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66DC#FFFFFF#000000##000000
##8F66DC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#7D7E97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f66dc;
/* rgb */ color: rgb(143, 102, 220);
/* oklch */ color: oklch(60.7% 0.174 296.9);
Tailwind
colors: {
  custom: {
    50: '#b493e7',
    500: '#8f66dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f66dc;
$custom-light: #b493e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66dc",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 260.847,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.17393,
    "h": 296.9
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#8F66DC
secondary
#D5E4BA
accent
#CB1B8E
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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