#9958E7#9958E7

#9958E7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.208 H 301.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9958E7
RGBrgb(153, 88, 231)
HSLhsl(267, 75%, 63%)
HSVhsv(267, 62%, 91%)
CMYKcmyk(33.8%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.29, 54.30, -62.72)
CIE-LCHlch(51.29, 82.96, 310.88°)
OKLaboklab(60.35% 0.1083 -0.1781)
OKLCHoklch(60.35% 0.208 301.3)
XYZxyz(31.0470, 19.5211, 77.7181)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9958E7 #A6E758
analogous
#585EE7 #9958E7 #E158E7
triadic
#9958E7 #E79958 #58E799
tetradic
#9958E7 #E7585E #A6E758 #58E7E1
square
#9958E7 #E7585E #A6E758 #58E7E1
split-complementary
#9958E7 #E7E158 #5EE758
monochromatic
#5C19AC #7822DF #9958E7 #BA8EEF #DAC3F6

Accessibility & contrast

On white

4.28
#9958E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9958E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9958E7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9958E7#FFFFFF#000000##000000
##9958E71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#897798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9958e7;
/* rgb */ color: rgb(153, 88, 231);
/* oklch */ color: oklch(60.4% 0.208 301.3);
Tailwind
colors: {
  custom: {
    50: '#bc8aef',
    500: '#9958e7',
    950: '#000000',
  },
}
SCSS
$custom: #9958e7;
$custom-light: #bc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9958e7",
  "rgb": {
    "r": 153,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 267.273,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.2084,
    "h": 301.3
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#9958E7
secondary
#D0E7B3
accent
#D70E7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9958E7

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

Preview Lab → · Contrast checker → · Palette generator →

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