#9952EB#9952EB

#9952EB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.221 H 301.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9952EB
RGBrgb(153, 82, 235)
HSLhsl(268, 79%, 62%)
HSVhsv(268, 65%, 92%)
CMYKcmyk(34.9%, 65.1%, 0%, 7.8%)
CIE-LABlab(50.46, 58.26, -66.32)
CIE-LCHlch(50.46, 88.27, 311.30°)
OKLaboklab(59.83% 0.1146 -0.1886)
OKLCHoklch(59.83% 0.221 301.3)
XYZxyz(31.1460, 18.8049, 80.5700)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952EB #A4EB52
analogous
#5258EB #9952EB #E652EB
triadic
#9952EB #EB9952 #52EB99
tetradic
#9952EB #EB5258 #A4EB52 #52EBE6
square
#9952EB #EB5258 #A4EB52 #52EBE6
split-complementary
#9952EB #EBE652 #58EB52
monochromatic
#5C14AE #791BE5 #9952EB #B989F1 #DAC0F8

Accessibility & contrast

On white

4.41
#9952EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9952EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952EB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952EB#FFFFFF#000000##000000
##9952EB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0177E8
Tritanopia (blue-blind)
#887498
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9952eb;
/* rgb */ color: rgb(153, 82, 235);
/* oklch */ color: oklch(59.8% 0.221 301.3);
Tailwind
colors: {
  custom: {
    50: '#bc87f2',
    500: '#9952eb',
    950: '#000000',
  },
}
SCSS
$custom: #9952eb;
$custom-light: #bc87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9952eb",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 267.843,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.22068,
    "h": 301.3
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#9952EB
secondary
#CEE8B0
accent
#DC0A7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9952EB

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

Preview Lab → · Contrast checker → · Palette generator →

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