#9770C2#9770C2

#9770C2 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.127 H 304.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9770C2
RGBrgb(151, 112, 194)
HSLhsl(269, 40%, 60%)
HSVhsv(269, 42%, 76%)
CMYKcmyk(22.2%, 42.3%, 0%, 23.9%)
CIE-LABlab(54.09, 31.72, -37.26)
CIE-LCHlch(54.09, 48.93, 310.41°)
OKLaboklab(61.71% 0.0724 -0.1038)
OKLCHoklch(61.71% 0.127 304.9)
XYZxyz(28.2923, 22.0628, 53.7965)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9770C2 #9BC270
analogous
#7072C2 #9770C2 #C070C2
triadic
#9770C2 #C29770 #70C297
tetradic
#9770C2 #C27072 #9BC270 #70C2C0
square
#9770C2 #C27072 #9BC270 #70C2C0
split-complementary
#9770C2 #C2C070 #72C270
monochromatic
#5A3781 #7849AC #9770C2 #B69BD4 #D5C6E7

Accessibility & contrast

On white

3.88
#9770C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9770C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9770C2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9770C2#FFFFFF#000000##000000
##9770C21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C5
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#907D90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9770c2;
/* rgb */ color: rgb(151, 112, 194);
/* oklch */ color: oklch(61.7% 0.127 304.9);
Tailwind
colors: {
  custom: {
    50: '#b799d5',
    500: '#9770c2',
    950: '#000000',
  },
}
SCSS
$custom: #9770c2;
$custom-light: #b799d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9770c2",
  "rgb": {
    "r": 151,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 268.537,
    "s": 40.196,
    "l": 60
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.12651,
    "h": 304.9
  },
  "luminance": 0.22063
}

Semantic roles & 50–950 ramp

primary
#9770C2
secondary
#C8D7B7
accent
#D05897
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9770C2

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

Preview Lab → · Contrast checker → · Palette generator →

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