#9770CC#9770CC

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

Color values

HEX#9770CC
RGBrgb(151, 112, 204)
HSLhsl(265, 47%, 62%)
HSVhsv(265, 45%, 80%)
CMYKcmyk(26%, 45.1%, 0%, 20%)
CIE-LABlab(54.58, 34.12, -42.19)
CIE-LCHlch(54.58, 54.26, 308.96°)
OKLaboklab(62.23% 0.074 -0.1181)
OKLCHoklch(62.23% 0.139 302.1)
XYZxyz(29.4533, 22.5273, 59.9115)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770CC #A5CC70
analogous
#7077CC #9770CC #C570CC
triadic
#9770CC #CC9770 #70CC97
tetradic
#9770CC #CC7077 #A5CC70 #70CCC5
square
#9770CC #CC7077 #A5CC70 #70CCC5
split-complementary
#9770CC #CCC570 #77CC70
monochromatic
#5A338F #7643BC #9770CC #B89DDC #D9CAEC

Accessibility & contrast

On white

3.81
#9770CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9770CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770CC#FFFFFF#000000##000000
##9770CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#8D8094
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9770cc;
/* rgb */ color: rgb(151, 112, 204);
/* oklch */ color: oklch(62.2% 0.139 302.1);
Tailwind
colors: {
  custom: {
    50: '#b89adc',
    500: '#9770cc',
    950: '#000000',
  },
}
SCSS
$custom: #9770cc;
$custom-light: #b89adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9770cc",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 265.435,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62234,
    "c": 0.13936,
    "h": 302.1
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#9770CC
secondary
#CEDDBB
accent
#BB2B7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9770CC

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

Preview Lab → · Contrast checker → · Palette generator →

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