#8F66CD#8F66CD

#8F66CD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.155 H 300.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8F66CD
RGBrgb(143, 102, 205)
HSLhsl(264, 51%, 60%)
HSVhsv(264, 50%, 80%)
CMYKcmyk(30.2%, 50.2%, 0%, 19.6%)
CIE-LABlab(51.55, 37.89, -47.62)
CIE-LCHlch(51.55, 60.85, 308.51°)
OKLaboklab(59.8% 0.0778 -0.1341)
OKLCHoklch(59.8% 0.155 300.1)
XYZxyz(27.0959, 19.7500, 60.1304)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F66CD #A4CD66
analogous
#6671CD #8F66CD #C266CD
triadic
#8F66CD #CD8F66 #66CD8F
tetradic
#8F66CD #CD6671 #A4CD66 #66CDC2
square
#8F66CD #CD6671 #A4CD66 #66CDC2
split-complementary
#8F66CD #CDC266 #71CD66
monochromatic
#532D8B #6E3DB9 #8F66CD #B194DC #D3C2EB

Accessibility & contrast

On white

4.24
#8F66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8F66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F66CD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F66CD#FFFFFF#000000##000000
##8F66CD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD1
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#837990
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f66cd;
/* rgb */ color: rgb(143, 102, 205);
/* oklch */ color: oklch(59.8% 0.155 300.1);
Tailwind
colors: {
  custom: {
    50: '#b392dd',
    500: '#8f66cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f66cd;
$custom-light: #b392dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f66cd",
  "rgb": {
    "r": 143,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 263.883,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.598,
    "c": 0.15503,
    "h": 300.1
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#8F66CD
secondary
#CBDBB4
accent
#BE2782
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8F66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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