#9552CC#9552CC

#9552CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.186 H 306.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9552CC
RGBrgb(149, 82, 204)
HSLhsl(273, 54%, 56%)
HSVhsv(273, 60%, 80%)
CMYKcmyk(27%, 59.8%, 0%, 20%)
CIE-LABlab(47.99, 50.05, -52.70)
CIE-LCHlch(47.99, 72.68, 313.52°)
OKLaboklab(57.3% 0.1112 -0.1487)
OKLCHoklch(57.3% 0.186 306.8)
XYZxyz(26.3085, 16.7841, 58.9687)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9552CC #89CC52
analogous
#5852CC #9552CC #CC52C6
triadic
#9552CC #CC9552 #52CC95
tetradic
#9552CC #CC5852 #89CC52 #52C6CC
square
#9552CC #CC5852 #89CC52 #52C6CC
split-complementary
#9552CC #C6CC52 #52CC58
monochromatic
#56257E #7633AE #9552CC #B281DA #CFB1E8

Accessibility & contrast

On white

4.82
#9552CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9552CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9552CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9552CC#FFFFFF#000000##FFFFFF
##9552CC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#8C6A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9552cc;
/* rgb */ color: rgb(149, 82, 204);
/* oklch */ color: oklch(57.3% 0.186 306.8);
Tailwind
colors: {
  custom: {
    50: '#b886dc',
    500: '#9552cc',
    950: '#000000',
  },
}
SCSS
$custom: #9552cc;
$custom-light: #b886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9552cc",
  "rgb": {
    "r": 149,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 272.951,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.18572,
    "h": 306.8
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#9552CC
secondary
#BAD6A4
accent
#DE4A8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9552CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9552CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva