#9957E8#9957E8

#9957E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.211 H 301.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9957E8
RGBrgb(153, 87, 232)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.1%, 62.5%, 0%, 9%)
CIE-LABlab(51.17, 55.05, -63.48)
CIE-LCHlch(51.17, 84.02, 310.93°)
OKLaboklab(60.28% 0.1094 -0.1803)
OKLCHoklch(60.28% 0.211 301.2)
XYZxyz(31.1071, 19.4147, 78.4369)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9957E8 #A6E857
analogous
#575EE8 #9957E8 #E157E8
triadic
#9957E8 #E89957 #57E899
tetradic
#9957E8 #E8575E #A6E857 #57E8E1
square
#9957E8 #E8575E #A6E857 #57E8E1
split-complementary
#9957E8 #E8E157 #5EE857
monochromatic
#5C18AD #7821E1 #9957E8 #BA8DEF #DAC3F7

Accessibility & contrast

On white

4.30
#9957E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9957E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9957E8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9957E8#FFFFFF#000000##000000
##9957E81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#897798
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9957e8;
/* rgb */ color: rgb(153, 87, 232);
/* oklch */ color: oklch(60.3% 0.211 301.2);
Tailwind
colors: {
  custom: {
    50: '#bc8af0',
    500: '#9957e8',
    950: '#000000',
  },
}
SCSS
$custom: #9957e8;
$custom-light: #bc8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9957e8",
  "rgb": {
    "r": 153,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 267.31,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.21086,
    "h": 301.2
  },
  "luminance": 0.19415
}

Semantic roles & 50–950 ramp

primary
#9957E8
secondary
#D0E8B3
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9957E8

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

Preview Lab → · Contrast checker → · Palette generator →

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