#9772EC#9772EC

#9772EC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.177 H 294.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9772EC
RGBrgb(151, 114, 236)
HSLhsl(258, 76%, 69%)
HSVhsv(258, 52%, 93%)
CMYKcmyk(36%, 51.7%, 0%, 7.5%)
CIE-LABlab(56.75, 41.06, -56.76)
CIE-LCHlch(56.75, 70.05, 305.88°)
OKLaboklab(64.41% 0.0747 -0.1606)
OKLCHoklch(64.41% 0.177 294.9)
XYZxyz(33.9162, 24.6694, 82.3154)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9772EC #C7EC72
analogous
#728AEC #9772EC #D472EC
triadic
#9772EC #EC9772 #72EC97
tetradic
#9772EC #EC728A #C7EC72 #72ECD4
square
#9772EC #EC728A #C7EC72 #72ECD4
split-complementary
#9772EC #ECD472 #8AEC72
monochromatic
#501BC9 #6F3CE5 #9772EC #BFA8F3 #E7DEFB

Accessibility & contrast

On white

3.54
#9772EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9772EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9772EC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9772EC#FFFFFF#000000##000000
##9772EC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#838BA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9772ec;
/* rgb */ color: rgb(151, 114, 236);
/* oklch */ color: oklch(64.4% 0.177 294.9);
Tailwind
colors: {
  custom: {
    50: '#ba9bf3',
    500: '#9772ec',
    950: '#000000',
  },
}
SCSS
$custom: #9772ec;
$custom-light: #ba9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9772ec",
  "rgb": {
    "r": 151,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 258.197,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.17716,
    "h": 294.9
  },
  "luminance": 0.2467
}

Semantic roles & 50–950 ramp

primary
#9772EC
secondary
#E4EFCB
accent
#D80D9B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9772EC

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

Preview Lab → · Contrast checker → · Palette generator →

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