#8D66CA#8D66CA

#8D66CA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.151 H 299.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D66CA
RGBrgb(141, 102, 202)
HSLhsl(263, 49%, 60%)
HSVhsv(263, 50%, 79%)
CMYKcmyk(30.2%, 49.5%, 0%, 20.8%)
CIE-LABlab(51.19, 36.61, -46.50)
CIE-LCHlch(51.19, 59.18, 308.22°)
OKLaboklab(59.43% 0.075 -0.1309)
OKLCHoklch(59.43% 0.151 299.8)
XYZxyz(26.3940, 19.4296, 58.2254)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66CA #A3CA66
analogous
#6671CA #8D66CA #BF66CA
triadic
#8D66CA #CA8D66 #66CA8D
tetradic
#8D66CA #CA6671 #A3CA66 #66CABF
square
#8D66CA #CA6671 #A3CA66 #66CABF
split-complementary
#8D66CA #CABF66 #71CA66
monochromatic
#512F87 #6C3EB4 #8D66CA #AF93DA #D1C1E9

Accessibility & contrast

On white

4.30
#8D66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66CA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66CA#FFFFFF#000000##000000
##8D66CA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#81798F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d66ca;
/* rgb */ color: rgb(141, 102, 202);
/* oklch */ color: oklch(59.4% 0.151 299.8);
Tailwind
colors: {
  custom: {
    50: '#b192da',
    500: '#8d66ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d66ca;
$custom-light: #b192da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66ca",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 263.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.15085,
    "h": 299.8
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#8D66CA
secondary
#CAD9B2
accent
#D850A3
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8D66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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