#552EC2#552EC2

#552EC2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.212 H 286.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#552EC2
RGBrgb(85, 46, 194)
HSLhsl(256, 62%, 47%)
HSVhsv(256, 76%, 76%)
CMYKcmyk(56.2%, 76.3%, 0%, 23.9%)
CIE-LABlab(33.52, 53.46, -70.72)
CIE-LCHlch(33.52, 88.65, 307.09°)
OKLaboklab(45.09% 0.0598 -0.2036)
OKLCHoklch(45.09% 0.212 286.4)
XYZxyz(14.4580, 7.7795, 51.7682)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EC2 #9BC22E
analogous
#2E51C2 #552EC2 #9F2EC2
triadic
#552EC2 #C2552E #2EC255
tetradic
#552EC2 #C22E51 #9BC22E #2EC29F
square
#552EC2 #C22E51 #9BC22E #2EC29F
split-complementary
#552EC2 #C29F2E #51C22E
monochromatic
#2A175F #3F2291 #552EC2 #7856D7 #A088E3

Accessibility & contrast

On white

8.22
#552EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#552EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EC2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EC2#FFFFFF#000000##FFFFFF
##552EC21.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#215877
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #552ec2;
/* rgb */ color: rgb(85, 46, 194);
/* oklch */ color: oklch(45.1% 0.212 286.4);
Tailwind
colors: {
  custom: {
    50: '#916cd6',
    500: '#552ec2',
    950: '#000000',
  },
}
SCSS
$custom: #552ec2;
$custom-light: #916cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#552ec2",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 255.811,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.2122,
    "h": 286.4
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#552EC2
secondary
#B8CC7F
accent
#E543BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #552EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#552EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva