#9D66CA#9D66CA

#9D66CA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.1% C 0.155 H 307.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D66CA
RGBrgb(157, 102, 202)
HSLhsl(273, 49%, 60%)
HSVhsv(273, 50%, 79%)
CMYKcmyk(22.3%, 49.5%, 0%, 20.8%)
CIE-LABlab(52.88, 40.93, -43.71)
CIE-LCHlch(52.88, 59.88, 313.12°)
OKLaboklab(61.07% 0.095 -0.1223)
OKLCHoklch(61.07% 0.155 307.8)
XYZxyz(29.3146, 20.9355, 58.3623)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66CA #93CA66
analogous
#6B66CA #9D66CA #CA66C5
triadic
#9D66CA #CA9D66 #66CA9D
tetradic
#9D66CA #CA6B66 #93CA66 #66C5CA
square
#9D66CA #CA6B66 #93CA66 #66C5CA
split-complementary
#9D66CA #C5CA66 #66CA6B
monochromatic
#5F2F87 #7F3EB4 #9D66CA #BA93DA #D7C1E9

Accessibility & contrast

On white

4.05
#9D66CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9D66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66CA#FFFFFF#000000##000000
##9D66CA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#97778F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d66ca;
/* rgb */ color: rgb(157, 102, 202);
/* oklch */ color: oklch(61.1% 0.155 307.8);
Tailwind
colors: {
  custom: {
    50: '#bc93da',
    500: '#9d66ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ca;
$custom-light: #bc93da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ca",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 273,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.15487,
    "h": 307.8
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#9D66CA
secondary
#C4D9B2
accent
#D8508D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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