#9957CC#9957CC

#9957CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.179 H 307.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9957CC
RGBrgb(153, 87, 204)
HSLhsl(274, 53%, 57%)
HSVhsv(274, 57%, 80%)
CMYKcmyk(25%, 57.4%, 0%, 20%)
CIE-LABlab(49.43, 48.42, -50.36)
CIE-LCHlch(49.43, 69.86, 313.88°)
OKLaboklab(58.47% 0.1101 -0.1418)
OKLCHoklch(58.47% 0.179 307.8)
XYZxyz(27.4419, 17.9487, 59.1338)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957CC #8ACC57
analogous
#5F57CC #9957CC #CC57C5
triadic
#9957CC #CC9957 #57CC99
tetradic
#9957CC #CC5F57 #8ACC57 #57C5CC
square
#9957CC #CC5F57 #8ACC57 #57C5CC
split-complementary
#9957CC #C5CC57 #57CC5F
monochromatic
#5A2781 #7B36B0 #9957CC #B686DA #D2B5E9

Accessibility & contrast

On white

4.58
#9957CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9957CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957CC#FFFFFF#000000##000000
##9957CC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#916D89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9957cc;
/* rgb */ color: rgb(153, 87, 204);
/* oklch */ color: oklch(58.5% 0.179 307.8);
Tailwind
colors: {
  custom: {
    50: '#ba89dc',
    500: '#9957cc',
    950: '#000000',
  },
}
SCSS
$custom: #9957cc;
$custom-light: #ba89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9957cc",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 273.846,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.17949,
    "h": 307.8
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#9957CC
secondary
#BCD7A8
accent
#DD4B8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9957CC

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

Preview Lab → · Contrast checker → · Palette generator →

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