#9958EF#9958EF

#9958EF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.217 H 299.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9958EF
RGBrgb(153, 88, 239)
HSLhsl(266, 83%, 64%)
HSVhsv(266, 63%, 94%)
CMYKcmyk(36%, 63.2%, 0%, 6.3%)
CIE-LABlab(51.82, 56.25, -66.36)
CIE-LCHlch(51.82, 86.99, 310.29°)
OKLaboklab(60.9% 0.1077 -0.1888)
OKLCHoklch(60.9% 0.217 299.7)
XYZxyz(32.2027, 19.9834, 83.8052)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958EF #AEEF58
analogous
#5863EF #9958EF #E558EF
triadic
#9958EF #EF9958 #58EF99
tetradic
#9958EF #EF5863 #AEEF58 #58EFE5
square
#9958EF #EF5863 #AEEF58 #58EFE5
split-complementary
#9958EF #EFE558 #63EF58
monochromatic
#5B12BB #7720EA #9958EF #BB90F4 #DDC8FA

Accessibility & contrast

On white

4.20
#9958EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9958EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958EF#FFFFFF#000000##000000
##9958EF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0E7AEC
Tritanopia (blue-blind)
#867A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9958ef;
/* rgb */ color: rgb(153, 88, 239);
/* oklch */ color: oklch(60.9% 0.217 299.7);
Tailwind
colors: {
  custom: {
    50: '#bc8bf5',
    500: '#9958ef',
    950: '#000000',
  },
}
SCSS
$custom: #9958ef;
$custom-light: #bc8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9958ef",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 265.828,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.609,
    "c": 0.21733,
    "h": 299.7
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#9958EF
secondary
#D5ECB7
accent
#DF0782
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9958EF

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

Preview Lab → · Contrast checker → · Palette generator →

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