#9A66FE#9A66FE

#9A66FE is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.0% C 0.216 H 295.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A66FE
RGBrgb(154, 102, 254)
HSLhsl(261, 99%, 70%)
HSVhsv(261, 60%, 100%)
CMYKcmyk(39.4%, 59.8%, 0%, 0.4%)
CIE-LABlab(55.61, 52.97, -68.57)
CIE-LCHlch(55.61, 86.65, 307.68°)
OKLaboklab(63.99% 0.0927 -0.1953)
OKLCHoklch(63.99% 0.216 295.4)
XYZxyz(35.9625, 23.5278, 96.3933)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A66FE #CAFE66
analogous
#667EFE #9A66FE #E666FE
triadic
#9A66FE #FE9A66 #66FE9A
tetradic
#9A66FE #FE667E #CAFE66 #66FEE6
square
#9A66FE #FE667E #CAFE66 #66FEE6
split-complementary
#9A66FE #FEE666 #7EFE66
monochromatic
#5002E8 #7229FE #9A66FE #C2A3FE #EAE0FF

Accessibility & contrast

On white

3.68
#9A66FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#9A66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A66FE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A66FE#FFFFFF#000000##000000
##9A66FE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#1483FB
Tritanopia (blue-blind)
#8188A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a66fe;
/* rgb */ color: rgb(154, 102, 254);
/* oklch */ color: oklch(64.0% 0.216 295.4);
Tailwind
colors: {
  custom: {
    50: '#be94ff',
    500: '#9a66fe',
    950: '#000000',
  },
}
SCSS
$custom: #9a66fe;
$custom-light: #be94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9a66fe",
  "rgb": {
    "r": 154,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 260.526,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.21613,
    "h": 295.4
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

primary
#9A66FE
secondary
#E7F5CA
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9A66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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