#9957ED#9957ED

#9957ED is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.216 H 300.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9957ED
RGBrgb(153, 87, 237)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(35.4%, 63.3%, 0%, 7.1%)
CIE-LABlab(51.50, 56.26, -65.75)
CIE-LCHlch(51.50, 86.54, 310.55°)
OKLaboklab(60.63% 0.109 -0.187)
OKLCHoklch(60.63% 0.216 300.2)
XYZxyz(31.8274, 19.7029, 82.2306)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957ED #ABED57
analogous
#5760ED #9957ED #E457ED
triadic
#9957ED #ED9957 #57ED99
tetradic
#9957ED #ED5760 #ABED57 #57EDE4
square
#9957ED #ED5760 #ABED57 #57EDE4
split-complementary
#9957ED #EDE457 #60ED57
monochromatic
#5B14B6 #7720E7 #9957ED #BB8EF3 #DCC6F9

Accessibility & contrast

On white

4.25
#9957ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9957ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957ED
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957ED#FFFFFF#000000##000000
##9957ED1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#127AEA
Tritanopia (blue-blind)
#87789A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9957ed;
/* rgb */ color: rgb(153, 87, 237);
/* oklch */ color: oklch(60.6% 0.216 300.2);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9957ed',
    950: '#000000',
  },
}
SCSS
$custom: #9957ed;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9957ed",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 266.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.21642,
    "h": 300.2
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#9957ED
secondary
#D3EAB5
accent
#DD097F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9957ED

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

Preview Lab → · Contrast checker → · Palette generator →

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