#9A66FB#9A66FB

#9A66FB is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.8% C 0.213 H 295.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9A66FB
RGBrgb(154, 102, 251)
HSLhsl(261, 95%, 69%)
HSVhsv(261, 59%, 98%)
CMYKcmyk(38.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(55.42, 52.20, -67.22)
CIE-LCHlch(55.42, 85.11, 307.83°)
OKLaboklab(63.79% 0.0928 -0.1913)
OKLCHoklch(63.79% 0.213 295.9)
XYZxyz(35.4859, 23.3371, 93.8830)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A66FB #C7FB66
analogous
#667DFB #9A66FB #E566FB
triadic
#9A66FB #FB9A66 #66FB9A
tetradic
#9A66FB #FB667D #C7FB66 #66FBE5
square
#9A66FB #FB667D #C7FB66 #66FBE5
split-complementary
#9A66FB #FBE566 #7DFB66
monochromatic
#5206E1 #732AF9 #9A66FB #C1A2FD #E9DDFE

Accessibility & contrast

On white

3.71
#9A66FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#9A66FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A66FB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A66FB#FFFFFF#000000##000000
##9A66FB1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#1E83F8
Tritanopia (blue-blind)
#8287A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9a66fb;
/* rgb */ color: rgb(154, 102, 251);
/* oklch */ color: oklch(63.8% 0.213 295.9);
Tailwind
colors: {
  custom: {
    50: '#bd94fd',
    500: '#9a66fb',
    950: '#000000',
  },
}
SCSS
$custom: #9a66fb;
$custom-light: #bd94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a66fb",
  "rgb": {
    "r": 154,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 260.94,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.21262,
    "h": 295.9
  },
  "luminance": 0.23338
}

Semantic roles & 50–950 ramp

primary
#9A66FB
secondary
#E5F4C9
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9A66FB

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

Preview Lab → · Contrast checker → · Palette generator →

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