#9772C8#9772C8

#9772C8 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.131 H 302.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9772C8
RGBrgb(151, 114, 200)
HSLhsl(266, 44%, 62%)
HSVhsv(266, 43%, 78%)
CMYKcmyk(24.5%, 43%, 0%, 21.6%)
CIE-LABlab(54.85, 32.01, -39.50)
CIE-LCHlch(54.85, 50.84, 309.02°)
OKLaboklab(62.37% 0.0706 -0.1102)
OKLCHoklch(62.37% 0.131 302.6)
XYZxyz(29.2029, 22.7841, 57.4917)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772C8 #A3C872
analogous
#7278C8 #9772C8 #C272C8
triadic
#9772C8 #C89772 #72C897
tetradic
#9772C8 #C87278 #A3C872 #72C8C2
square
#9772C8 #C87278 #A3C872 #72C8C2
split-complementary
#9772C8 #C8C272 #78C872
monochromatic
#5A368A #7747B6 #9772C8 #B79ED9 #D8CAEA

Accessibility & contrast

On white

3.78
#9772C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9772C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772C8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772C8#FFFFFF#000000##000000
##9772C81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CB
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#8E8093
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9772c8;
/* rgb */ color: rgb(151, 114, 200);
/* oklch */ color: oklch(62.4% 0.131 302.6);
Tailwind
colors: {
  custom: {
    50: '#b79bd9',
    500: '#9772c8',
    950: '#000000',
  },
}
SCSS
$custom: #9772c8;
$custom-light: #b79bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9772c8",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 265.814,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6237,
    "c": 0.1309,
    "h": 302.6
  },
  "luminance": 0.22784
}

Semantic roles & 50–950 ramp

primary
#9772C8
secondary
#CDDBBB
accent
#B72E7C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9772C8

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

Preview Lab → · Contrast checker → · Palette generator →

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