#9771CB#9771CB

#9771CB is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.4% C 0.136 H 302.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9771CB
RGBrgb(151, 113, 203)
HSLhsl(265, 46%, 62%)
HSVhsv(265, 44%, 80%)
CMYKcmyk(25.6%, 44.3%, 0%, 20.4%)
CIE-LABlab(54.76, 33.30, -41.34)
CIE-LCHlch(54.76, 53.09, 308.86°)
OKLaboklab(62.35% 0.0725 -0.1156)
OKLCHoklch(62.35% 0.136 302.1)
XYZxyz(29.4447, 22.7013, 59.3189)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9771CB #A5CB71
analogous
#7178CB #9771CB #C471CB
triadic
#9771CB #CB9771 #71CB97
tetradic
#9771CB #CB7178 #A5CB71 #71CBC4
square
#9771CB #CB7178 #A5CB71 #71CBC4
split-complementary
#9771CB #CBC471 #78CB71
monochromatic
#5A348E #7644BB #9771CB #B89EDB #D9CBEC

Accessibility & contrast

On white

3.79
#9771CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9771CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9771CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9771CB#FFFFFF#000000##000000
##9771CB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#6183C9
Tritanopia (blue-blind)
#8E8094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9771cb;
/* rgb */ color: rgb(151, 113, 203);
/* oklch */ color: oklch(62.4% 0.136 302.1);
Tailwind
colors: {
  custom: {
    50: '#b79adb',
    500: '#9771cb',
    950: '#000000',
  },
}
SCSS
$custom: #9771cb;
$custom-light: #b79adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9771cb",
  "rgb": {
    "r": 151,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 265.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.13643,
    "h": 302.1
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#9771CB
secondary
#CEDCBB
accent
#BA2C7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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