#9D66FF#9D66FF

#9D66FF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.218 H 296.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D66FF
RGBrgb(157, 102, 255)
HSLhsl(262, 100%, 70%)
HSVhsv(262, 60%, 100%)
CMYKcmyk(38.4%, 60%, 0%, 0%)
CIE-LABlab(55.98, 53.85, -68.52)
CIE-LCHlch(55.98, 87.15, 308.16°)
OKLaboklab(64.35% 0.0964 -0.195)
OKLCHoklch(64.35% 0.218 296.3)
XYZxyz(36.7013, 23.8902, 97.2660)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66FF #C8FF66
analogous
#667BFF #9D66FF #EA66FF
triadic
#9D66FF #FF9D66 #66FF9D
tetradic
#9D66FF #FF667B #C8FF66 #66FFEA
square
#9D66FF #FF667B #C8FF66 #66FFEA
split-complementary
#9D66FF #FFEA66 #7BFF66
monochromatic
#5400EB #7629FF #9D66FF #C4A3FF #EBE0FF

Accessibility & contrast

On white

3.63
#9D66FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9D66FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66FF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66FF#FFFFFF#000000##000000
##9D66FF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d66ff;
/* rgb */ color: rgb(157, 102, 255);
/* oklch */ color: oklch(64.3% 0.218 296.3);
Tailwind
colors: {
  custom: {
    50: '#c094ff',
    500: '#9d66ff',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ff;
$custom-light: #c094ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ff",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 261.569,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.21756,
    "h": 296.3
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#9D66FF
secondary
#E6F6CB
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9D66FF

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

Preview Lab → · Contrast checker → · Palette generator →

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