#9770CB#9770CB

#9770CB is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.138 H 302.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9770CB
RGBrgb(151, 112, 203)
HSLhsl(266, 47%, 62%)
HSVhsv(266, 45%, 80%)
CMYKcmyk(25.6%, 44.8%, 0%, 20.4%)
CIE-LABlab(54.53, 33.88, -41.70)
CIE-LCHlch(54.53, 53.73, 309.09°)
OKLaboklab(62.18% 0.0739 -0.1167)
OKLCHoklch(62.18% 0.138 302.3)
XYZxyz(29.3338, 22.4794, 59.2819)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770CB #A4CB70
analogous
#7077CB #9770CB #C570CB
triadic
#9770CB #CB9770 #70CB97
tetradic
#9770CB #CB7077 #A4CB70 #70CBC5
square
#9770CB #CB7077 #A4CB70 #70CBC5
split-complementary
#9770CB #CBC570 #77CB70
monochromatic
#5A338D #7644BA #9770CB #B89DDB #D8CAEC

Accessibility & contrast

On white

3.82
#9770CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9770CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770CB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770CB#FFFFFF#000000##000000
##9770CB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#8E8094
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9770cb;
/* rgb */ color: rgb(151, 112, 203);
/* oklch */ color: oklch(62.2% 0.138 302.3);
Tailwind
colors: {
  custom: {
    50: '#b79adb',
    500: '#9770cb',
    950: '#000000',
  },
}
SCSS
$custom: #9770cb;
$custom-light: #b79adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9770cb",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 265.714,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.13808,
    "h": 302.3
  },
  "luminance": 0.22479
}

Semantic roles & 50–950 ramp

primary
#9770CB
secondary
#CEDCBB
accent
#BA2C7D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9770CB

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

Preview Lab → · Contrast checker → · Palette generator →

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