#9770CA#9770CA

#9770CA is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.1% C 0.137 H 302.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9770CA
RGBrgb(151, 112, 202)
HSLhsl(266, 46%, 62%)
HSVhsv(266, 45%, 79%)
CMYKcmyk(25.2%, 44.6%, 0%, 20.8%)
CIE-LABlab(54.48, 33.63, -41.21)
CIE-LCHlch(54.48, 53.20, 309.22°)
OKLaboklab(62.13% 0.0737 -0.1152)
OKLCHoklch(62.13% 0.137 302.6)
XYZxyz(29.2150, 22.4319, 58.6563)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770CA #A3CA70
analogous
#7076CA #9770CA #C470CA
triadic
#9770CA #CA9770 #70CA97
tetradic
#9770CA #CA7076 #A3CA70 #70CAC4
square
#9770CA #CA7076 #A3CA70 #70CAC4
split-complementary
#9770CA #CAC470 #76CA70
monochromatic
#5A348C #7744B8 #9770CA #B79DDB #D8C9EB

Accessibility & contrast

On white

3.83
#9770CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9770CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770CA#FFFFFF#000000##000000
##9770CA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#8E7F93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9770ca;
/* rgb */ color: rgb(151, 112, 202);
/* oklch */ color: oklch(62.1% 0.137 302.6);
Tailwind
colors: {
  custom: {
    50: '#b79ada',
    500: '#9770ca',
    950: '#000000',
  },
}
SCSS
$custom: #9770ca;
$custom-light: #b79ada;
$custom-dark: #000000;
JSON
{
  "hex": "#9770ca",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 266,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62127,
    "c": 0.13678,
    "h": 302.6
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#9770CA
secondary
#CDDCBA
accent
#B92C7C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9770CA

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

Preview Lab → · Contrast checker → · Palette generator →

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