#9770C8#9770C8

#9770C8 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.134 H 303.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9770C8
RGBrgb(151, 112, 200)
HSLhsl(267, 44%, 61%)
HSVhsv(267, 44%, 78%)
CMYKcmyk(24.5%, 44%, 0%, 21.6%)
CIE-LABlab(54.38, 33.15, -40.23)
CIE-LCHlch(54.38, 52.13, 309.49°)
OKLaboklab(62.02% 0.0734 -0.1124)
OKLCHoklch(62.02% 0.134 303.1)
XYZxyz(28.9797, 22.3378, 57.4173)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770C8 #A1C870
analogous
#7075C8 #9770C8 #C370C8
triadic
#9770C8 #C89770 #70C897
tetradic
#9770C8 #C87075 #A1C870 #70C8C3
square
#9770C8 #C87075 #A1C870 #70C8C3
split-complementary
#9770C8 #C8C370 #75C870
monochromatic
#5A3589 #7746B5 #9770C8 #B79CD9 #D7C8EA

Accessibility & contrast

On white

3.84
#9770C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9770C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770C8#FFFFFF#000000##000000
##9770C81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#8F7F92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9770c8;
/* rgb */ color: rgb(151, 112, 200);
/* oklch */ color: oklch(62.0% 0.134 303.1);
Tailwind
colors: {
  custom: {
    50: '#b79ad9',
    500: '#9770c8',
    950: '#000000',
  },
}
SCSS
$custom: #9770c8;
$custom-light: #b79ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9770c8",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 266.591,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6202,
    "c": 0.13421,
    "h": 303.1
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#9770C8
secondary
#CCDAB9
accent
#B82E7B
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9770C8

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

Preview Lab → · Contrast checker → · Palette generator →

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