#9958E4#9958E4

#9958E4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.205 H 301.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9958E4
RGBrgb(153, 88, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 61%, 89%)
CMYKcmyk(32.9%, 61.4%, 0%, 10.6%)
CIE-LABlab(51.10, 53.57, -61.34)
CIE-LCHlch(51.10, 81.44, 311.13°)
OKLaboklab(60.15% 0.1085 -0.174)
OKLCHoklch(60.15% 0.205 301.9)
XYZxyz(30.6269, 19.3531, 75.5057)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958E4 #A3E458
analogous
#585DE4 #9958E4 #DF58E4
triadic
#9958E4 #E49958 #58E499
tetradic
#9958E4 #E4585D #A3E458 #58E4DF
square
#9958E4 #E4585D #A3E458 #58E4DF
split-complementary
#9958E4 #E4DF58 #5DE458
monochromatic
#5C1BA7 #7923DB #9958E4 #B98DED #D9C1F5

Accessibility & contrast

On white

4.31
#9958E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9958E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958E4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958E4#FFFFFF#000000##000000
##9958E41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#8A7696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9958e4;
/* rgb */ color: rgb(153, 88, 228);
/* oklch */ color: oklch(60.1% 0.205 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc8aed',
    500: '#9958e4',
    950: '#000000',
  },
}
SCSS
$custom: #9958e4;
$custom-light: #bc8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9958e4",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 267.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.20504,
    "h": 301.9
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#9958E4
secondary
#CEE6B2
accent
#D4117A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958E4

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

Preview Lab → · Contrast checker → · Palette generator →

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