#9A77EF#9A77EF

#9A77EF is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.7% C 0.174 H 294.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A77EF
RGBrgb(154, 119, 239)
HSLhsl(258, 79%, 70%)
HSVhsv(258, 50%, 94%)
CMYKcmyk(35.6%, 50.2%, 0%, 6.3%)
CIE-LABlab(58.32, 39.75, -55.92)
CIE-LCHlch(58.32, 68.60, 305.41°)
OKLaboklab(65.7% 0.0723 -0.1581)
OKLCHoklch(65.7% 0.174 294.6)
XYZxyz(35.4992, 26.2950, 84.8497)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A77EF #CCEF77
analogous
#7790EF #9A77EF #D677EF
triadic
#9A77EF #EF9A77 #77EF9A
tetradic
#9A77EF #EF7790 #CCEF77 #77EFD6
square
#9A77EF #EF7790 #CCEF77 #77EFD6
split-complementary
#9A77EF #EFD677 #90EF77
monochromatic
#4F19D3 #7140E9 #9A77EF #C3AEF5 #EBE4FC

Accessibility & contrast

On white

3.36
#9A77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9A77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A77EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A77EF#FFFFFF#000000##000000
##9A77EF1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#868FA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a77ef;
/* rgb */ color: rgb(154, 119, 239);
/* oklch */ color: oklch(65.7% 0.174 294.6);
Tailwind
colors: {
  custom: {
    50: '#bc9ff5',
    500: '#9a77ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a77ef;
$custom-light: #bc9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a77ef",
  "rgb": {
    "r": 154,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 257.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65697,
    "c": 0.17384,
    "h": 294.6
  },
  "luminance": 0.26296
}

Semantic roles & 50–950 ramp

primary
#9A77EF
secondary
#E8F2D0
accent
#DB0A9E
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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