#9D66F2#9D66F2

#9D66F2 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.5% C 0.202 H 298.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9D66F2
RGBrgb(157, 102, 242)
HSLhsl(264, 84%, 67%)
HSVhsv(264, 58%, 95%)
CMYKcmyk(35.1%, 57.9%, 0%, 5.1%)
CIE-LABlab(55.16, 50.58, -62.63)
CIE-LCHlch(55.16, 80.50, 308.92°)
OKLaboklab(63.49% 0.0968 -0.1777)
OKLCHoklch(63.49% 0.202 298.6)
XYZxyz(34.6790, 23.0812, 86.6153)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66F2 #BBF266
analogous
#6675F2 #9D66F2 #E366F2
triadic
#9D66F2 #F29D66 #66F29D
tetradic
#9D66F2 #F26675 #BBF266 #66F2E3
square
#9D66F2 #F26675 #BBF266 #66F2E3
split-complementary
#9D66F2 #F2E366 #75F266
monochromatic
#5B11CC #792EED #9D66F2 #C19EF7 #E5D7FC

Accessibility & contrast

On white

3.74
#9D66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9D66F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66F2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66F2#FFFFFF#000000##000000
##9D66F21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#8A83A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d66f2;
/* rgb */ color: rgb(157, 102, 242);
/* oklch */ color: oklch(63.5% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#bf94f7',
    500: '#9d66f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d66f2;
$custom-light: #bf94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66f2",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 263.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63487,
    "c": 0.20238,
    "h": 298.6
  },
  "luminance": 0.23082
}

Semantic roles & 50–950 ramp

primary
#9D66F2
secondary
#DFF0C4
accent
#E1058A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D66F2

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

Preview Lab → · Contrast checker → · Palette generator →

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