#9772CE#9772CE

#9772CE is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.139 H 301.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9772CE
RGBrgb(151, 114, 206)
HSLhsl(264, 48%, 63%)
HSVhsv(264, 45%, 81%)
CMYKcmyk(26.7%, 44.7%, 0%, 19.2%)
CIE-LABlab(55.14, 33.46, -42.44)
CIE-LCHlch(55.14, 54.05, 308.25°)
OKLaboklab(62.69% 0.0715 -0.1188)
OKLCHoklch(62.69% 0.139 301.1)
XYZxyz(29.9179, 23.0701, 61.2574)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772CE #A9CE72
analogous
#727BCE #9772CE #C572CE
triadic
#9772CE #CE9772 #72CE97
tetradic
#9772CE #CE727B #A9CE72 #72CEC5
square
#9772CE #CE727B #A9CE72 #72CEC5
split-complementary
#9772CE #CEC572 #7BCE72
monochromatic
#593393 #7545BE #9772CE #B89FDE #DACDEE

Accessibility & contrast

On white

3.74
#9772CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9772CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772CE#FFFFFF#000000##000000
##9772CE1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#6084CC
Tritanopia (blue-blind)
#8D8296
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9772ce;
/* rgb */ color: rgb(151, 114, 206);
/* oklch */ color: oklch(62.7% 0.139 301.1);
Tailwind
colors: {
  custom: {
    50: '#b89bdd',
    500: '#9772ce',
    950: '#000000',
  },
}
SCSS
$custom: #9772ce;
$custom-light: #b89bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9772ce",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 264.13,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62689,
    "c": 0.13868,
    "h": 301.1
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#9772CE
secondary
#D1DFBD
accent
#BC2A81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9772CE

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

Preview Lab → · Contrast checker → · Palette generator →

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