#9957E4#9957E4

#9957E4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.206 H 302.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9957E4
RGBrgb(153, 87, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 62%, 89%)
CMYKcmyk(32.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(50.91, 54.08, -61.64)
CIE-LCHlch(50.91, 82.01, 311.26°)
OKLaboklab(60.01% 0.1096 -0.1749)
OKLCHoklch(60.01% 0.206 302.1)
XYZxyz(30.5454, 19.1901, 75.4786)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957E4 #A2E457
analogous
#575CE4 #9957E4 #E057E4
triadic
#9957E4 #E49957 #57E499
tetradic
#9957E4 #E4575C #A2E457 #57E4E0
square
#9957E4 #E4575C #A2E457 #57E4E0
split-complementary
#9957E4 #E4E057 #5CE457
monochromatic
#5C1BA6 #7923DB #9957E4 #B98CEC #D9C0F5

Accessibility & contrast

On white

4.34
#9957E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9957E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957E4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957E4#FFFFFF#000000##000000
##9957E41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#8A7596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9957e4;
/* rgb */ color: rgb(153, 87, 228);
/* oklch */ color: oklch(60.0% 0.206 302.1);
Tailwind
colors: {
  custom: {
    50: '#bc8aed',
    500: '#9957e4',
    950: '#000000',
  },
}
SCSS
$custom: #9957e4;
$custom-light: #bc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9957e4",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 268.085,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.2064,
    "h": 302.1
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#9957E4
secondary
#CDE6B1
accent
#D41179
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9957E4

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

Preview Lab → · Contrast checker → · Palette generator →

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