#9766CA#9766CA

#9766CA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.153 H 304.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9766CA
RGBrgb(151, 102, 202)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 50%, 79%)
CMYKcmyk(25.2%, 49.5%, 0%, 20.8%)
CIE-LABlab(52.23, 39.29, -44.78)
CIE-LCHlch(52.23, 59.58, 311.27°)
OKLaboklab(60.44% 0.0875 -0.1256)
OKLCHoklch(60.44% 0.153 304.9)
XYZxyz(28.1723, 20.3465, 58.3088)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766CA #99CA66
analogous
#6667CA #9766CA #C966CA
triadic
#9766CA #CA9766 #66CA97
tetradic
#9766CA #CA6667 #99CA66 #66CAC9
square
#9766CA #CA6667 #99CA66 #66CAC9
split-complementary
#9766CA #CAC966 #67CA66
monochromatic
#5A2F87 #783EB4 #9766CA #B693DA #D5C1E9

Accessibility & contrast

On white

4.14
#9766CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9766CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766CA#FFFFFF#000000##000000
##9766CA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#567DC7
Tritanopia (blue-blind)
#8F788F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9766ca;
/* rgb */ color: rgb(151, 102, 202);
/* oklch */ color: oklch(60.4% 0.153 304.9);
Tailwind
colors: {
  custom: {
    50: '#b893da',
    500: '#9766ca',
    950: '#000000',
  },
}
SCSS
$custom: #9766ca;
$custom-light: #b893da;
$custom-dark: #000000;
JSON
{
  "hex": "#9766ca",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 269.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.15309,
    "h": 304.9
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#9766CA
secondary
#C6D9B2
accent
#D85095
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9766CA

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

Preview Lab → · Contrast checker → · Palette generator →

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