#552BD7#552BD7

#552BD7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.238 H 283.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#552BD7
RGBrgb(85, 43, 215)
HSLhsl(255, 68%, 51%)
HSVhsv(255, 80%, 84%)
CMYKcmyk(60.5%, 80%, 0%, 15.7%)
CIE-LABlab(35.13, 60.61, -80.28)
CIE-LCHlch(35.13, 100.59, 307.05°)
OKLaboklab(46.83% 0.0555 -0.2315)
OKLCHoklch(46.83% 0.238 283.5)
XYZxyz(16.8721, 8.5642, 65.0408)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BD7 #ADD72B
analogous
#2B57D7 #552BD7 #AB2BD7
triadic
#552BD7 #D7552B #2BD755
tetradic
#552BD7 #D72B57 #ADD72B #2BD7AB
square
#552BD7 #D72B57 #ADD72B #2BD7AB
split-complementary
#552BD7 #D7AB2B #57D72B
monochromatic
#2C1672 #401FA6 #552BD7 #7E5EE1 #A892EA

Accessibility & contrast

On white

7.74
#552BD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#552BD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BD7
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BD7#FFFFFF#000000##FFFFFF
##552BD71.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DC
Deuteranopia (green-blind)
#004DD4
Tritanopia (blue-blind)
#005F82
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #552bd7;
/* rgb */ color: rgb(85, 43, 215);
/* oklch */ color: oklch(46.8% 0.238 283.5);
Tailwind
colors: {
  custom: {
    50: '#956be5',
    500: '#552bd7',
    950: '#000000',
  },
}
SCSS
$custom: #552bd7;
$custom-light: #956be5;
$custom-dark: #000000;
JSON
{
  "hex": "#552bd7",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 215
  },
  "hsl": {
    "h": 254.651,
    "s": 68.254,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.23803,
    "h": 283.5
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#552BD7
secondary
#C2D589
accent
#EB3DC1
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #552BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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