#9958E6#9958E6

#9958E6 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.207 H 301.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9958E6
RGBrgb(153, 88, 230)
HSLhsl(267, 74%, 62%)
HSVhsv(267, 62%, 90%)
CMYKcmyk(33.5%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.23, 54.06, -62.26)
CIE-LCHlch(51.23, 82.45, 310.97°)
OKLaboklab(60.28% 0.1083 -0.1767)
OKLCHoklch(60.28% 0.207 301.5)
XYZxyz(30.9061, 19.4648, 76.9764)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958E6 #A5E658
analogous
#585EE6 #9958E6 #E058E6
triadic
#9958E6 #E69958 #58E699
tetradic
#9958E6 #E6585E #A5E658 #58E6E0
square
#9958E6 #E6585E #A5E658 #58E6E0
split-complementary
#9958E6 #E6E058 #5EE658
monochromatic
#5C19AA #7823DE #9958E6 #BA8DEE #DAC2F6

Accessibility & contrast

On white

4.29
#9958E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9958E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958E6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958E6#FFFFFF#000000##000000
##9958E61.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#897697
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9958e6;
/* rgb */ color: rgb(153, 88, 230);
/* oklch */ color: oklch(60.3% 0.207 301.5);
Tailwind
colors: {
  custom: {
    50: '#bc8aef',
    500: '#9958e6',
    950: '#000000',
  },
}
SCSS
$custom: #9958e6;
$custom-light: #bc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9958e6",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 267.465,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.20728,
    "h": 301.5
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#9958E6
secondary
#CFE7B3
accent
#D60F7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9958E6

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

Preview Lab → · Contrast checker → · Palette generator →

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