#9770BD#9770BD

#9770BD is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.5% C 0.120 H 306.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9770BD
RGBrgb(151, 112, 189)
HSLhsl(270, 37%, 59%)
HSVhsv(270, 41%, 74%)
CMYKcmyk(20.1%, 40.7%, 0%, 25.9%)
CIE-LABlab(53.86, 30.54, -34.76)
CIE-LCHlch(53.86, 46.28, 311.30°)
OKLaboklab(61.45% 0.0714 -0.0965)
OKLCHoklch(61.45% 0.12 306.5)
XYZxyz(27.7402, 21.8420, 50.8888)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BD #96BD70
analogous
#7170BD #9770BD #BD70BD
triadic
#9770BD #BD9770 #70BD97
tetradic
#9770BD #BD7170 #96BD70 #70BDBD
square
#9770BD #BD7170 #96BD70 #70BDBD
split-complementary
#9770BD #BDBD70 #70BD71
monochromatic
#5A387A #784CA4 #9770BD #B59AD0 #D4C4E4

Accessibility & contrast

On white

3.91
#9770BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9770BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BD#FFFFFF#000000##000000
##9770BD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FC0
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#917C8D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9770bd;
/* rgb */ color: rgb(151, 112, 189);
/* oklch */ color: oklch(61.5% 0.120 306.5);
Tailwind
colors: {
  custom: {
    50: '#b799d1',
    500: '#9770bd',
    950: '#000000',
  },
}
SCSS
$custom: #9770bd;
$custom-light: #b799d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9770bd",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 270.39,
    "s": 36.842,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.1201,
    "h": 306.5
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#9770BD
secondary
#C4D4B5
accent
#CD5B93
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BD

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

Preview Lab → · Contrast checker → · Palette generator →

#9770BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva