#9766CB#9766CB

#9766CB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.154 H 304.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9766CB
RGBrgb(151, 102, 203)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 50%, 80%)
CMYKcmyk(25.6%, 49.8%, 0%, 20.4%)
CIE-LABlab(52.28, 39.53, -45.27)
CIE-LCHlch(52.28, 60.10, 311.13°)
OKLaboklab(60.5% 0.0877 -0.127)
OKLCHoklch(60.5% 0.154 304.6)
XYZxyz(28.2911, 20.3940, 58.9343)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766CB #9ACB66
analogous
#6668CB #9766CB #C966CB
triadic
#9766CB #CB9766 #66CB97
tetradic
#9766CB #CB6668 #9ACB66 #66CBC9
square
#9766CB #CB6668 #9ACB66 #66CBC9
split-complementary
#9766CB #CBC966 #68CB66
monochromatic
#5A2E88 #783EB6 #9766CB #B694DB #D5C1EA

Accessibility & contrast

On white

4.13
#9766CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9766CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766CB#FFFFFF#000000##000000
##9766CB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#8E788F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9766cb;
/* rgb */ color: rgb(151, 102, 203);
/* oklch */ color: oklch(60.5% 0.154 304.6);
Tailwind
colors: {
  custom: {
    50: '#b893db',
    500: '#9766cb',
    950: '#000000',
  },
}
SCSS
$custom: #9766cb;
$custom-light: #b893db;
$custom-dark: #000000;
JSON
{
  "hex": "#9766cb",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 269.109,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.15432,
    "h": 304.6
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

primary
#9766CB
secondary
#C7DAB3
accent
#D94F96
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9766CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9766CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva