#9552E2#9552E2

#9552E2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.210 H 301.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9552E2
RGBrgb(149, 82, 226)
HSLhsl(268, 71%, 60%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(34.1%, 63.7%, 0%, 11.4%)
CIE-LABlab(49.39, 55.27, -62.98)
CIE-LCHlch(49.39, 83.79, 311.27°)
OKLaboklab(58.77% 0.1101 -0.1789)
OKLCHoklch(58.77% 0.21 301.6)
XYZxyz(29.1359, 17.9150, 73.8597)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9552E2 #9FE252
analogous
#5257E2 #9552E2 #DD52E2
triadic
#9552E2 #E29552 #52E295
tetradic
#9552E2 #E25257 #9FE252 #52E2DD
square
#9552E2 #E25257 #9FE252 #52E2DD
split-complementary
#9552E2 #E2DD52 #57E252
monochromatic
#581B9F #7523D3 #9552E2 #B586EB #D5BBF4

Accessibility & contrast

On white

4.58
#9552E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9552E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9552E2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9552E2#FFFFFF#000000##000000
##9552E21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#1975DF
Tritanopia (blue-blind)
#857293
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9552e2;
/* rgb */ color: rgb(149, 82, 226);
/* oklch */ color: oklch(58.8% 0.210 301.6);
Tailwind
colors: {
  custom: {
    50: '#b986ec',
    500: '#9552e2',
    950: '#000000',
  },
}
SCSS
$custom: #9552e2;
$custom-light: #b986ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9552e2",
  "rgb": {
    "r": 149,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 267.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.21013,
    "h": 301.6
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#9552E2
secondary
#CAE3AC
accent
#D31279
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9552E2

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

Preview Lab → · Contrast checker → · Palette generator →

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