#9958ED#9958ED

#9958ED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.215 H 300.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9958ED
RGBrgb(153, 88, 237)
HSLhsl(266, 81%, 64%)
HSVhsv(266, 63%, 93%)
CMYKcmyk(35.4%, 62.9%, 0%, 7.1%)
CIE-LABlab(51.69, 55.76, -65.45)
CIE-LCHlch(51.69, 85.98, 310.43°)
OKLaboklab(60.76% 0.1079 -0.1861)
OKLCHoklch(60.76% 0.215 300.1)
XYZxyz(31.9089, 19.8659, 82.2577)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958ED #ACED58
analogous
#5861ED #9958ED #E358ED
triadic
#9958ED #ED9958 #58ED99
tetradic
#9958ED #ED5861 #ACED58 #58EDE3
square
#9958ED #ED5861 #ACED58 #58EDE3
split-complementary
#9958ED #EDE358 #61ED58
monochromatic
#5B14B7 #7721E7 #9958ED #BB8FF3 #DCC6F9

Accessibility & contrast

On white

4.22
#9958ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9958ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958ED
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958ED#FFFFFF#000000##000000
##9958ED1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#167AEA
Tritanopia (blue-blind)
#87799B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9958ed;
/* rgb */ color: rgb(153, 88, 237);
/* oklch */ color: oklch(60.8% 0.215 300.1);
Tailwind
colors: {
  custom: {
    50: '#bc8af4',
    500: '#9958ed',
    950: '#000000',
  },
}
SCSS
$custom: #9958ed;
$custom-light: #bc8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9958ed",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 266.174,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.21511,
    "h": 300.1
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#9958ED
secondary
#D4EBB6
accent
#DD0980
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9958ED

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

Preview Lab → · Contrast checker → · Palette generator →

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