#9957CE#9957CE

#9957CE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.182 H 307.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9957CE
RGBrgb(153, 87, 206)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 58%, 81%)
CMYKcmyk(25.7%, 57.8%, 0%, 19.2%)
CIE-LABlab(49.55, 48.89, -51.32)
CIE-LCHlch(49.55, 70.88, 313.61°)
OKLaboklab(58.59% 0.1101 -0.1446)
OKLCHoklch(58.59% 0.182 307.3)
XYZxyz(27.6834, 18.0452, 60.4053)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957CE #8CCE57
analogous
#5D57CE #9957CE #CE57C8
triadic
#9957CE #CE9957 #57CE99
tetradic
#9957CE #CE5D57 #8CCE57 #57C8CE
square
#9957CE #CE5D57 #8CCE57 #57C8CE
split-complementary
#9957CE #C8CE57 #57CE5D
monochromatic
#5A2784 #7B34B3 #9957CE #B686DC #D3B6EA

Accessibility & contrast

On white

4.56
#9957CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9957CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957CE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957CE#FFFFFF#000000##000000
##9957CE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#916E8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9957ce;
/* rgb */ color: rgb(153, 87, 206);
/* oklch */ color: oklch(58.6% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba89dd',
    500: '#9957ce',
    950: '#000000',
  },
}
SCSS
$custom: #9957ce;
$custom-light: #ba89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9957ce",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 273.277,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.18173,
    "h": 307.3
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#9957CE
secondary
#BED8A8
accent
#DE4A8C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9957CE

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

Preview Lab → · Contrast checker → · Palette generator →

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