#9770BC#9770BC

#9770BC is a mid, moderate violet. Relative luminance 0.218; OKLCH L 61.4% C 0.119 H 306.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9770BC
RGBrgb(151, 112, 188)
HSLhsl(271, 36%, 59%)
HSVhsv(271, 40%, 74%)
CMYKcmyk(19.7%, 40.4%, 0%, 26.3%)
CIE-LABlab(53.81, 30.31, -34.26)
CIE-LCHlch(53.81, 45.74, 311.50°)
OKLaboklab(61.4% 0.0712 -0.0951)
OKLCHoklch(61.4% 0.119 306.8)
XYZxyz(27.6320, 21.7987, 50.3191)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BC #95BC70
analogous
#7170BC #9770BC #BC70BB
triadic
#9770BC #BC9770 #70BC97
tetradic
#9770BC #BC7170 #95BC70 #70BBBC
square
#9770BC #BC7170 #95BC70 #70BBBC
split-complementary
#9770BC #BBBC70 #70BC71
monochromatic
#5A3979 #794CA3 #9770BC #B59AD0 #D4C3E3

Accessibility & contrast

On white

3.92
#9770BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9770BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BC#FFFFFF#000000##000000
##9770BC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#927C8D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9770bc;
/* rgb */ color: rgb(151, 112, 188);
/* oklch */ color: oklch(61.4% 0.119 306.8);
Tailwind
colors: {
  custom: {
    50: '#b799d0',
    500: '#9770bc',
    950: '#000000',
  },
}
SCSS
$custom: #9770bc;
$custom-light: #b799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9770bc",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 270.789,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.11882,
    "h": 306.8
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#9770BC
secondary
#C4D3B5
accent
#CC5C92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BC

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

Preview Lab → · Contrast checker → · Palette generator →

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