#9B66BF#9B66BF

#9B66BF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.141 H 310.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B66BF
RGBrgb(155, 102, 191)
HSLhsl(276, 41%, 57%)
HSVhsv(276, 47%, 75%)
CMYKcmyk(18.8%, 46.6%, 0%, 25.1%)
CIE-LABlab(52.10, 37.85, -38.64)
CIE-LCHlch(52.10, 54.09, 314.41°)
OKLaboklab(60.26% 0.0911 -0.1076)
OKLCHoklch(60.26% 0.141 310.3)
XYZxyz(27.6712, 20.2333, 51.7278)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B66BF #8ABF66
analogous
#6E66BF #9B66BF #BF66B7
triadic
#9B66BF #BF9B66 #66BF9B
tetradic
#9B66BF #BF6E66 #8ABF66 #66B7BF
square
#9B66BF #BF6E66 #8ABF66 #66B7BF
split-complementary
#9B66BF #B7BF66 #66BF6E
monochromatic
#5C3278 #7D44A3 #9B66BF #B791D1 #D3BCE3

Accessibility & contrast

On white

4.16
#9B66BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9B66BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B66BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B66BF#FFFFFF#000000##000000
##9B66BF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517AC2
Deuteranopia (green-blind)
#607DBD
Tritanopia (blue-blind)
#977489
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b66bf;
/* rgb */ color: rgb(155, 102, 191);
/* oklch */ color: oklch(60.3% 0.141 310.3);
Tailwind
colors: {
  custom: {
    50: '#ba93d2',
    500: '#9b66bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b66bf;
$custom-light: #ba93d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b66bf",
  "rgb": {
    "r": 155,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 275.73,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.14104,
    "h": 310.3
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#9B66BF
secondary
#BDD2AE
accent
#D15788
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9B66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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