#9952E8#9952E8

#9952E8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.217 H 301.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9952E8
RGBrgb(153, 82, 232)
HSLhsl(268, 77%, 62%)
HSVhsv(268, 65%, 91%)
CMYKcmyk(34.1%, 64.7%, 0%, 9%)
CIE-LABlab(50.26, 57.54, -64.96)
CIE-LCHlch(50.26, 86.77, 311.53°)
OKLaboklab(59.62% 0.1149 -0.1846)
OKLCHoklch(59.62% 0.217 301.9)
XYZxyz(30.7162, 18.6330, 78.3066)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952E8 #A1E852
analogous
#5256E8 #9952E8 #E452E8
triadic
#9952E8 #E89952 #52E899
tetradic
#9952E8 #E85256 #A1E852 #52E8E4
square
#9952E8 #E85256 #A1E852 #52E8E4
split-complementary
#9952E8 #E8E452 #56E852
monochromatic
#5C16A9 #791EDF #9952E8 #B988EF #D9BEF6

Accessibility & contrast

On white

4.44
#9952E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9952E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952E8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952E8#FFFFFF#000000##000000
##9952E81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#897396
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9952e8;
/* rgb */ color: rgb(153, 82, 232);
/* oklch */ color: oklch(59.6% 0.217 301.9);
Tailwind
colors: {
  custom: {
    50: '#bc87f0',
    500: '#9952e8',
    950: '#000000',
  },
}
SCSS
$custom: #9952e8;
$custom-light: #bc87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9952e8",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 268.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.21744,
    "h": 301.9
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#9952E8
secondary
#CCE7AF
accent
#D90D78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9952E8

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

Preview Lab → · Contrast checker → · Palette generator →

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