#9A66EF#9A66EF

#9A66EF is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.198 H 298.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A66EF
RGBrgb(154, 102, 239)
HSLhsl(263, 81%, 67%)
HSVhsv(263, 57%, 94%)
CMYKcmyk(35.6%, 57.3%, 0%, 6.3%)
CIE-LABlab(54.66, 49.15, -61.77)
CIE-LCHlch(54.66, 78.94, 308.51°)
OKLaboklab(63% 0.0931 -0.1753)
OKLCHoklch(63% 0.198 298)
XYZxyz(33.6539, 22.6043, 84.2346)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A66EF #BBEF66
analogous
#6677EF #9A66EF #DF66EF
triadic
#9A66EF #EF9A66 #66EF9A
tetradic
#9A66EF #EF6677 #BBEF66 #66EFDF
square
#9A66EF #EF6677 #BBEF66 #66EFDF
split-complementary
#9A66EF #EFDF66 #77EF66
monochromatic
#5815C6 #752FE9 #9A66EF #BF9DF5 #E3D5FB

Accessibility & contrast

On white

3.80
#9A66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9A66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A66EF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A66EF#FFFFFF#000000##000000
##9A66EF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#3681EC
Tritanopia (blue-blind)
#8783A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a66ef;
/* rgb */ color: rgb(154, 102, 239);
/* oklch */ color: oklch(63.0% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#bc93f5',
    500: '#9a66ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a66ef;
$custom-light: #bc93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a66ef",
  "rgb": {
    "r": 154,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 262.774,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62995,
    "c": 0.19844,
    "h": 298
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#9A66EF
secondary
#DEEEC2
accent
#DD088C
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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