#9D66FE#9D66FE

#9D66FE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.3% C 0.216 H 296.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D66FE
RGBrgb(157, 102, 254)
HSLhsl(262, 99%, 70%)
HSVhsv(262, 60%, 100%)
CMYKcmyk(38.2%, 59.8%, 0%, 0.4%)
CIE-LABlab(55.91, 53.60, -68.07)
CIE-LCHlch(55.91, 86.64, 308.22°)
OKLaboklab(64.28% 0.0965 -0.1937)
OKLCHoklch(64.28% 0.216 296.5)
XYZxyz(36.5408, 23.8259, 96.4204)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66FE #C7FE66
analogous
#667BFE #9D66FE #E966FE
triadic
#9D66FE #FE9D66 #66FE9D
tetradic
#9D66FE #FE667B #C7FE66 #66FEE9
square
#9D66FE #FE667B #C7FE66 #66FEE9
split-complementary
#9D66FE #FEE966 #7BFE66
monochromatic
#5502E8 #7629FE #9D66FE #C4A3FE #EBE0FF

Accessibility & contrast

On white

3.64
#9D66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9D66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66FE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66FE#FFFFFF#000000##000000
##9D66FE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#1D84FB
Tritanopia (blue-blind)
#8587A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9d66fe;
/* rgb */ color: rgb(157, 102, 254);
/* oklch */ color: oklch(64.3% 0.216 296.5);
Tailwind
colors: {
  custom: {
    50: '#c094ff',
    500: '#9d66fe',
    950: '#000000',
  },
}
SCSS
$custom: #9d66fe;
$custom-light: #c094ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66fe",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 261.711,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64281,
    "c": 0.2164,
    "h": 296.5
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#9D66FE
secondary
#E6F5CA
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9D66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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