#9770BF#9770BF

#9770BF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.123 H 305.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9770BF
RGBrgb(151, 112, 191)
HSLhsl(270, 38%, 59%)
HSVhsv(270, 41%, 75%)
CMYKcmyk(20.9%, 41.4%, 0%, 25.1%)
CIE-LABlab(53.95, 31.01, -35.76)
CIE-LCHlch(53.95, 47.34, 310.93°)
OKLaboklab(61.55% 0.0718 -0.0994)
OKLCHoklch(61.55% 0.123 305.8)
XYZxyz(27.9587, 21.9294, 52.0400)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BF #98BF70
analogous
#7071BF #9770BF #BE70BF
triadic
#9770BF #BF9770 #70BF97
tetradic
#9770BF #BF7071 #98BF70 #70BFBE
square
#9770BF #BF7071 #98BF70 #70BFBE
split-complementary
#9770BF #BFBE70 #71BF70
monochromatic
#5A387D #784BA7 #9770BF #B69AD2 #D4C5E5

Accessibility & contrast

On white

3.90
#9770BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9770BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BF#FFFFFF#000000##000000
##9770BF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#6781BD
Tritanopia (blue-blind)
#917D8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9770bf;
/* rgb */ color: rgb(151, 112, 191);
/* oklch */ color: oklch(61.6% 0.123 305.8);
Tailwind
colors: {
  custom: {
    50: '#b799d2',
    500: '#9770bf',
    950: '#000000',
  },
}
SCSS
$custom: #9770bf;
$custom-light: #b799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9770bf",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 269.62,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.12266,
    "h": 305.8
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#9770BF
secondary
#C6D5B6
accent
#CE5A95
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BF

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

Preview Lab → · Contrast checker → · Palette generator →

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