#9A77EC#9A77EC

#9A77EC is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.5% C 0.170 H 295.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9A77EC
RGBrgb(154, 119, 236)
HSLhsl(258, 75%, 70%)
HSVhsv(258, 50%, 93%)
CMYKcmyk(34.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(58.15, 38.97, -54.51)
CIE-LCHlch(58.15, 67.01, 305.56°)
OKLaboklab(65.52% 0.0721 -0.154)
OKLCHoklch(65.52% 0.17 295.1)
XYZxyz(35.0597, 26.1192, 82.5350)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A77EC #C9EC77
analogous
#778EEC #9A77EC #D577EC
triadic
#9A77EC #EC9A77 #77EC9A
tetradic
#9A77EC #EC778E #C9EC77 #77ECD5
square
#9A77EC #EC778E #C9EC77 #77ECD5
split-complementary
#9A77EC #ECD577 #8EEC77
monochromatic
#511DCC #7241E4 #9A77EC #C2ADF4 #EAE2FB

Accessibility & contrast

On white

3.37
#9A77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9A77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A77EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A77EC#FFFFFF#000000##000000
##9A77EC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#878EA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a77ec;
/* rgb */ color: rgb(154, 119, 236);
/* oklch */ color: oklch(65.5% 0.170 295.1);
Tailwind
colors: {
  custom: {
    50: '#bb9ff3',
    500: '#9a77ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a77ec;
$custom-light: #bb9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a77ec",
  "rgb": {
    "r": 154,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 257.949,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65519,
    "c": 0.17001,
    "h": 295.1
  },
  "luminance": 0.2612
}

Semantic roles & 50–950 ramp

primary
#9A77EC
secondary
#E6F0CF
accent
#D80E9B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A77EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A77EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva