#9D66FC#9D66FC

#9D66FC is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.1% C 0.214 H 296.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9D66FC
RGBrgb(157, 102, 252)
HSLhsl(262, 96%, 69%)
HSVhsv(262, 60%, 99%)
CMYKcmyk(37.7%, 59.5%, 0%, 1.2%)
CIE-LABlab(55.78, 53.09, -67.17)
CIE-LCHlch(55.78, 85.62, 308.32°)
OKLaboklab(64.15% 0.0966 -0.191)
OKLCHoklch(64.15% 0.214 296.8)
XYZxyz(36.2222, 23.6985, 94.7425)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66FC #C5FC66
analogous
#667AFC #9D66FC #E866FC
triadic
#9D66FC #FC9D66 #66FC9D
tetradic
#9D66FC #FC667A #C5FC66 #66FCE8
square
#9D66FC #FC667A #C5FC66 #66FCE8
split-complementary
#9D66FC #FCE866 #7AFC66
monochromatic
#5604E3 #772AFB #9D66FC #C3A2FD #EADEFE

Accessibility & contrast

On white

3.66
#9D66FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9D66FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66FC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66FC#FFFFFF#000000##000000
##9D66FC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2284F9
Tritanopia (blue-blind)
#8687A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d66fc;
/* rgb */ color: rgb(157, 102, 252);
/* oklch */ color: oklch(64.1% 0.214 296.8);
Tailwind
colors: {
  custom: {
    50: '#bf94fe',
    500: '#9d66fc',
    950: '#000000',
  },
}
SCSS
$custom: #9d66fc;
$custom-light: #bf94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66fc",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 262,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64147,
    "c": 0.21407,
    "h": 296.8
  },
  "luminance": 0.23699
}

Semantic roles & 50–950 ramp

primary
#9D66FC
secondary
#E5F5C9
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9D66FC

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

Preview Lab → · Contrast checker → · Palette generator →

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