#9A66EB#9A66EB

#9A66EB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.194 H 298.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9A66EB
RGBrgb(154, 102, 235)
HSLhsl(263, 77%, 66%)
HSVhsv(263, 57%, 92%)
CMYKcmyk(34.5%, 56.6%, 0%, 7.8%)
CIE-LABlab(54.42, 48.14, -59.93)
CIE-LCHlch(54.42, 76.87, 308.78°)
OKLaboklab(62.74% 0.0931 -0.1698)
OKLCHoklch(62.74% 0.194 298.7)
XYZxyz(33.0695, 22.3706, 81.1568)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A66EB #B7EB66
analogous
#6674EB #9A66EB #DD66EB
triadic
#9A66EB #EB9A66 #66EB9A
tetradic
#9A66EB #EB6674 #B7EB66 #66EBDD
square
#9A66EB #EB6674 #B7EB66 #66EBDD
split-complementary
#9A66EB #EBDD66 #74EB66
monochromatic
#5919BE #7630E4 #9A66EB #BE9CF2 #E1D2F9

Accessibility & contrast

On white

3.84
#9A66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9A66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A66EB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A66EB#FFFFFF#000000##000000
##9A66EB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#88819F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a66eb;
/* rgb */ color: rgb(154, 102, 235);
/* oklch */ color: oklch(62.7% 0.194 298.7);
Tailwind
colors: {
  custom: {
    50: '#bc93f2',
    500: '#9a66eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a66eb;
$custom-light: #bc93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a66eb",
  "rgb": {
    "r": 154,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 263.459,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62737,
    "c": 0.19368,
    "h": 298.7
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#9A66EB
secondary
#DBECC1
accent
#D90C89
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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