#9D66FB#9D66FB

#9D66FB is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.1% C 0.213 H 297.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9D66FB
RGBrgb(157, 102, 251)
HSLhsl(262, 95%, 69%)
HSVhsv(262, 59%, 98%)
CMYKcmyk(37.5%, 59.4%, 0%, 1.6%)
CIE-LABlab(55.72, 52.84, -66.72)
CIE-LCHlch(55.72, 85.11, 308.38°)
OKLaboklab(64.08% 0.0966 -0.1897)
OKLCHoklch(64.08% 0.213 297)
XYZxyz(36.0641, 23.6353, 93.9101)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66FB #C4FB66
analogous
#667AFB #9D66FB #E866FB
triadic
#9D66FB #FB9D66 #66FB9D
tetradic
#9D66FB #FB667A #C4FB66 #66FBE8
square
#9D66FB #FB667A #C4FB66 #66FBE8
split-complementary
#9D66FB #FBE866 #7AFB66
monochromatic
#5706E1 #772AF9 #9D66FB #C3A2FD #E9DDFE

Accessibility & contrast

On white

3.67
#9D66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#9D66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66FB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66FB#FFFFFF#000000##000000
##9D66FB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2584F8
Tritanopia (blue-blind)
#8786A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d66fb;
/* rgb */ color: rgb(157, 102, 251);
/* oklch */ color: oklch(64.1% 0.213 297.0);
Tailwind
colors: {
  custom: {
    50: '#bf94fd',
    500: '#9d66fb',
    950: '#000000',
  },
}
SCSS
$custom: #9d66fb;
$custom-light: #bf94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66fb",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 262.148,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.21291,
    "h": 297
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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