#9977EF#9977EF

#9977EF is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.6% C 0.174 H 294.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9977EF
RGBrgb(153, 119, 239)
HSLhsl(257, 79%, 70%)
HSVhsv(257, 50%, 94%)
CMYKcmyk(36%, 50.2%, 0%, 6.3%)
CIE-LABlab(58.22, 39.51, -56.07)
CIE-LCHlch(58.22, 68.59, 305.17°)
OKLaboklab(65.61% 0.0711 -0.1586)
OKLCHoklch(65.61% 0.174 294.2)
XYZxyz(35.3096, 26.1972, 84.8409)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9977EF #CDEF77
analogous
#7791EF #9977EF #D577EF
triadic
#9977EF #EF9977 #77EF99
tetradic
#9977EF #EF7791 #CDEF77 #77EFD5
square
#9977EF #EF7791 #CDEF77 #77EFD5
split-complementary
#9977EF #EFD577 #91EF77
monochromatic
#4E19D3 #7040E9 #9977EF #C2AEF5 #EAE4FC

Accessibility & contrast

On white

3.37
#9977EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9977EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9977EF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9977EF#FFFFFF#000000##000000
##9977EF1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#848FA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9977ef;
/* rgb */ color: rgb(153, 119, 239);
/* oklch */ color: oklch(65.6% 0.174 294.2);
Tailwind
colors: {
  custom: {
    50: '#bb9ff5',
    500: '#9977ef',
    950: '#000000',
  },
}
SCSS
$custom: #9977ef;
$custom-light: #bb9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9977ef",
  "rgb": {
    "r": 153,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 257,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.17378,
    "h": 294.2
  },
  "luminance": 0.26198
}

Semantic roles & 50–950 ramp

primary
#9977EF
secondary
#E8F2D0
accent
#DB0AA0
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9977EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9977EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva