#9772EB#9772EB

#9772EB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.4% C 0.176 H 295.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9772EB
RGBrgb(151, 114, 235)
HSLhsl(258, 75%, 68%)
HSVhsv(258, 51%, 92%)
CMYKcmyk(35.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(56.69, 40.80, -56.29)
CIE-LCHlch(56.69, 69.52, 305.93°)
OKLaboklab(64.35% 0.0746 -0.1593)
OKLCHoklch(64.35% 0.176 295.1)
XYZxyz(33.7714, 24.6115, 81.5524)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772EB #C6EB72
analogous
#7289EB #9772EB #D372EB
triadic
#9772EB #EB9772 #72EB97
tetradic
#9772EB #EB7289 #C6EB72 #72EBD3
square
#9772EB #EB7289 #C6EB72 #72EBD3
split-complementary
#9772EB #EBD372 #89EB72
monochromatic
#501CC6 #6F3CE3 #9772EB #BFA8F3 #E6DDFA

Accessibility & contrast

On white

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

On black

5.92
#9772EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772EB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772EB#FFFFFF#000000##000000
##9772EB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#838AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9772eb;
/* rgb */ color: rgb(151, 114, 235);
/* oklch */ color: oklch(64.4% 0.176 295.1);
Tailwind
colors: {
  custom: {
    50: '#b99bf2',
    500: '#9772eb',
    950: '#000000',
  },
}
SCSS
$custom: #9772eb;
$custom-light: #b99bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9772eb",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 258.347,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.17589,
    "h": 295.1
  },
  "luminance": 0.24612
}

Semantic roles & 50–950 ramp

primary
#9772EB
secondary
#E3EFCA
accent
#D70E9A
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772EB

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

Preview Lab → · Contrast checker → · Palette generator →

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