#9770BA#9770BA

#9770BA is a mid, moderate violet. Relative luminance 0.217; OKLCH L 61.3% C 0.116 H 307.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9770BA
RGBrgb(151, 112, 186)
HSLhsl(272, 35%, 58%)
HSVhsv(272, 40%, 73%)
CMYKcmyk(18.8%, 39.8%, 0%, 27.1%)
CIE-LABlab(53.72, 29.85, -33.26)
CIE-LCHlch(53.72, 44.69, 311.91°)
OKLaboklab(61.3% 0.0708 -0.0922)
OKLCHoklch(61.3% 0.116 307.5)
XYZxyz(27.4179, 21.7131, 49.1915)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BA #93BA70
analogous
#7270BA #9770BA #BA70B8
triadic
#9770BA #BA9770 #70BA97
tetradic
#9770BA #BA7270 #93BA70 #70B8BA
square
#9770BA #BA7270 #93BA70 #70B8BA
split-complementary
#9770BA #B8BA70 #70BA72
monochromatic
#593976 #794DA0 #9770BA #B599CE #D3C3E2

Accessibility & contrast

On white

3.93
#9770BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9770BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BA#FFFFFF#000000##000000
##9770BA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#927B8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9770ba;
/* rgb */ color: rgb(151, 112, 186);
/* oklch */ color: oklch(61.3% 0.116 307.5);
Tailwind
colors: {
  custom: {
    50: '#b799cf',
    500: '#9770ba',
    950: '#000000',
  },
}
SCSS
$custom: #9770ba;
$custom-light: #b799cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9770ba",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 271.622,
    "s": 34.906,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.11627,
    "h": 307.5
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#9770BA
secondary
#C2D2B4
accent
#CB5D91
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BA

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

Preview Lab → · Contrast checker → · Palette generator →

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