#9958E8#9958E8

#9958E8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.210 H 301.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9958E8
RGBrgb(153, 88, 232)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 62%, 91%)
CMYKcmyk(34.1%, 62.1%, 0%, 9%)
CIE-LABlab(51.36, 54.54, -63.18)
CIE-LCHlch(51.36, 83.46, 310.80°)
OKLaboklab(60.42% 0.1082 -0.1794)
OKLCHoklch(60.42% 0.21 301.1)
XYZxyz(31.1886, 19.5778, 78.4640)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958E8 #A7E858
analogous
#585FE8 #9958E8 #E158E8
triadic
#9958E8 #E89958 #58E899
tetradic
#9958E8 #E8585F #A7E858 #58E8E1
square
#9958E8 #E8585F #A7E858 #58E8E1
split-complementary
#9958E8 #E8E158 #5FE858
monochromatic
#5C18AE #7822E1 #9958E8 #BA8EEF #DBC4F7

Accessibility & contrast

On white

4.27
#9958E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9958E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958E8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958E8#FFFFFF#000000##000000
##9958E81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#897798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9958e8;
/* rgb */ color: rgb(153, 88, 232);
/* oklch */ color: oklch(60.4% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#bc8af0',
    500: '#9958e8',
    950: '#000000',
  },
}
SCSS
$custom: #9958e8;
$custom-light: #bc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9958e8",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 267.083,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.20953,
    "h": 301.1
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#9958E8
secondary
#D0E8B4
accent
#D80E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9958E8

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

Preview Lab → · Contrast checker → · Palette generator →

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