#9958EB#9958EB

#9958EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.213 H 300.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9958EB
RGBrgb(153, 88, 235)
HSLhsl(267, 79%, 63%)
HSVhsv(267, 63%, 92%)
CMYKcmyk(34.9%, 62.6%, 0%, 7.8%)
CIE-LABlab(51.55, 55.27, -64.55)
CIE-LCHlch(51.55, 84.98, 310.57°)
OKLaboklab(60.62% 0.108 -0.1834)
OKLCHoklch(60.62% 0.213 300.5)
XYZxyz(31.6184, 19.7497, 80.7274)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958EB #AAEB58
analogous
#5860EB #9958EB #E358EB
triadic
#9958EB #EB9958 #58EB99
tetradic
#9958EB #EB5860 #AAEB58 #58EBE3
square
#9958EB #EB5860 #AAEB58 #58EBE3
split-complementary
#9958EB #EBE358 #60EB58
monochromatic
#5B15B3 #7821E4 #9958EB #BA8FF2 #DCC5F8

Accessibility & contrast

On white

4.24
#9958EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9958EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958EB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958EB#FFFFFF#000000##000000
##9958EB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#87789A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9958eb;
/* rgb */ color: rgb(153, 88, 235);
/* oklch */ color: oklch(60.6% 0.213 300.5);
Tailwind
colors: {
  custom: {
    50: '#bc8af2',
    500: '#9958eb',
    950: '#000000',
  },
}
SCSS
$custom: #9958eb;
$custom-light: #bc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#9958eb",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 266.531,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.21288,
    "h": 300.5
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#9958EB
secondary
#D2EAB5
accent
#DB0B7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9958EB

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

Preview Lab → · Contrast checker → · Palette generator →

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