#9957DB#9957DB

#9957DB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.4% C 0.196 H 304.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9957DB
RGBrgb(153, 87, 219)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(30.1%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.34, 51.93, -57.47)
CIE-LCHlch(50.34, 77.46, 312.10°)
OKLaboklab(59.42% 0.11 -0.1626)
OKLCHoklch(59.42% 0.196 304.1)
XYZxyz(29.3284, 18.7033, 69.0691)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957DB #99DB57
analogous
#5757DB #9957DB #DB57DB
triadic
#9957DB #DB9957 #57DB99
tetradic
#9957DB #DB5757 #99DB57 #57DBDB
square
#9957DB #DB5757 #99DB57 #57DBDB
split-complementary
#9957DB #DBDB57 #57DB57
monochromatic
#5C2097 #7A2BCA #9957DB #B889E6 #D6BCF1

Accessibility & contrast

On white

4.43
#9957DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9957DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957DB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957DB#FFFFFF#000000##000000
##9957DB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C76DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#8D7291
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9957db;
/* rgb */ color: rgb(153, 87, 219);
/* oklch */ color: oklch(59.4% 0.196 304.1);
Tailwind
colors: {
  custom: {
    50: '#bb89e7',
    500: '#9957db',
    950: '#000000',
  },
}
SCSS
$custom: #9957db;
$custom-light: #bb89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9957db",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.19633,
    "h": 304.1
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#9957DB
secondary
#C7E0AD
accent
#E84094
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9957DB

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

Preview Lab → · Contrast checker → · Palette generator →

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