#9957E5#9957E5

#9957E5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.208 H 301.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9957E5
RGBrgb(153, 87, 229)
HSLhsl(268, 73%, 62%)
HSVhsv(268, 62%, 90%)
CMYKcmyk(33.2%, 62%, 0%, 10.2%)
CIE-LABlab(50.97, 54.32, -62.10)
CIE-LCHlch(50.97, 82.51, 311.18°)
OKLaboklab(60.08% 0.1095 -0.1762)
OKLCHoklch(60.08% 0.208 301.9)
XYZxyz(30.6846, 19.2457, 76.2118)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957E5 #A3E557
analogous
#575CE5 #9957E5 #E057E5
triadic
#9957E5 #E59957 #57E599
tetradic
#9957E5 #E5575C #A3E557 #57E5E0
square
#9957E5 #E5575C #A3E557 #57E5E0
split-complementary
#9957E5 #E5E057 #5CE557
monochromatic
#5C1AA8 #7922DD #9957E5 #B98CED #D9C1F5

Accessibility & contrast

On white

4.33
#9957E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9957E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957E5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957E5#FFFFFF#000000##000000
##9957E51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2779E2
Tritanopia (blue-blind)
#8A7596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9957e5;
/* rgb */ color: rgb(153, 87, 229);
/* oklch */ color: oklch(60.1% 0.208 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc8aee',
    500: '#9957e5',
    950: '#000000',
  },
}
SCSS
$custom: #9957e5;
$custom-light: #bc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9957e5",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 267.887,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.20752,
    "h": 301.9
  },
  "luminance": 0.19246
}

Semantic roles & 50–950 ramp

primary
#9957E5
secondary
#CEE6B2
accent
#D5107A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9957E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9957E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva