#9770BE#9770BE

#9770BE is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.5% C 0.121 H 306.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9770BE
RGBrgb(151, 112, 190)
HSLhsl(270, 38%, 59%)
HSVhsv(270, 41%, 75%)
CMYKcmyk(20.5%, 41.1%, 0%, 25.5%)
CIE-LABlab(53.91, 30.78, -35.26)
CIE-LCHlch(53.91, 46.81, 311.11°)
OKLaboklab(61.5% 0.0716 -0.098)
OKLCHoklch(61.5% 0.121 306.2)
XYZxyz(27.8491, 21.8856, 51.4624)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770BE #97BE70
analogous
#7070BE #9770BE #BE70BE
triadic
#9770BE #BE9770 #70BE97
tetradic
#9770BE #BE7070 #97BE70 #70BEBE
square
#9770BE #BE7070 #97BE70 #70BEBE
split-complementary
#9770BE #BEBE70 #70BE70
monochromatic
#5A387B #784BA6 #9770BE #B69AD1 #D4C4E4

Accessibility & contrast

On white

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

On black

5.38
#9770BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770BE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770BE#FFFFFF#000000##000000
##9770BE1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC1
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#917C8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9770be;
/* rgb */ color: rgb(151, 112, 190);
/* oklch */ color: oklch(61.5% 0.121 306.2);
Tailwind
colors: {
  custom: {
    50: '#b799d2',
    500: '#9770be',
    950: '#000000',
  },
}
SCSS
$custom: #9770be;
$custom-light: #b799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9770be",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 37.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.12138,
    "h": 306.2
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#9770BE
secondary
#C5D4B6
accent
#CD5A94
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9770BE

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

Preview Lab → · Contrast checker → · Palette generator →

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