#9772EA#9772EA

#9772EA is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.3% C 0.175 H 295.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9772EA
RGBrgb(151, 114, 234)
HSLhsl(259, 74%, 68%)
HSVhsv(259, 51%, 92%)
CMYKcmyk(35.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(56.64, 40.54, -55.83)
CIE-LCHlch(56.64, 68.99, 305.99°)
OKLaboklab(64.29% 0.0745 -0.1579)
OKLCHoklch(64.29% 0.175 295.3)
XYZxyz(33.6273, 24.5538, 80.7936)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772EA #C5EA72
analogous
#7289EA #9772EA #D372EA
triadic
#9772EA #EA9772 #72EA97
tetradic
#9772EA #EA7289 #C5EA72 #72EAD3
square
#9772EA #EA7289 #C5EA72 #72EAD3
split-complementary
#9772EA #EAD372 #89EA72
monochromatic
#511DC4 #703DE2 #9772EA #BEA7F2 #E6DDFA

Accessibility & contrast

On white

3.55
#9772EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#9772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772EA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772EA#FFFFFF#000000##000000
##9772EA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#838AA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9772ea;
/* rgb */ color: rgb(151, 114, 234);
/* oklch */ color: oklch(64.3% 0.175 295.3);
Tailwind
colors: {
  custom: {
    50: '#b99bf1',
    500: '#9772ea',
    950: '#000000',
  },
}
SCSS
$custom: #9772ea;
$custom-light: #b99bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9772ea",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 258.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6429,
    "c": 0.17462,
    "h": 295.3
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#9772EA
secondary
#E3EECA
accent
#D60F99
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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