#9952E4#9952E4

#9952E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.213 H 302.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9952E4
RGBrgb(153, 82, 228)
HSLhsl(269, 73%, 61%)
HSVhsv(269, 64%, 89%)
CMYKcmyk(32.9%, 64%, 0%, 10.6%)
CIE-LABlab(49.99, 56.59, -63.13)
CIE-LCHlch(49.99, 84.78, 311.87°)
OKLaboklab(59.35% 0.1152 -0.1792)
OKLCHoklch(59.35% 0.213 302.7)
XYZxyz(30.1545, 18.4083, 75.3483)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952E4 #9DE452
analogous
#5254E4 #9952E4 #E252E4
triadic
#9952E4 #E49952 #52E499
tetradic
#9952E4 #E45254 #9DE452 #52E4E2
square
#9952E4 #E45254 #9DE452 #52E4E2
split-complementary
#9952E4 #E4E252 #54E452
monochromatic
#5C19A2 #7A22D7 #9952E4 #B887EC #D7BCF5

Accessibility & contrast

On white

4.49
#9952E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9952E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952E4#FFFFFF#000000##000000
##9952E41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1E76E1
Tritanopia (blue-blind)
#8A7294
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9952e4;
/* rgb */ color: rgb(153, 82, 228);
/* oklch */ color: oklch(59.3% 0.213 302.7);
Tailwind
colors: {
  custom: {
    50: '#bc87ed',
    500: '#9952e4',
    950: '#000000',
  },
}
SCSS
$custom: #9952e4;
$custom-light: #bc87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9952e4",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 269.178,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.21309,
    "h": 302.7
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#9952E4
secondary
#CAE5AD
accent
#D51075
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9952E4

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

Preview Lab → · Contrast checker → · Palette generator →

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