#552EDB#552EDB

#552EDB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.240 H 282.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#552EDB
RGBrgb(85, 46, 219)
HSLhsl(254, 71%, 52%)
HSVhsv(254, 79%, 86%)
CMYKcmyk(61.2%, 79%, 0%, 14.1%)
CIE-LABlab(35.98, 60.42, -81.18)
CIE-LCHlch(35.98, 101.20, 306.66°)
OKLaboklab(47.54% 0.0526 -0.2341)
OKLCHoklch(47.54% 0.24 282.7)
XYZxyz(17.5055, 8.9985, 67.8185)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EDB #B4DB2E
analogous
#2E5EDB #552EDB #AC2EDB
triadic
#552EDB #DB552E #2EDB55
tetradic
#552EDB #DB2E5E #B4DB2E #2EDBAC
square
#552EDB #DB2E5E #B4DB2E #2EDBAC
split-complementary
#552EDB #DBAC2E #5EDB2E
monochromatic
#2C157A #3E1EAE #552EDB #7F62E4 #AA96ED

Accessibility & contrast

On white

7.50
#552EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#552EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EDB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EDB#FFFFFF#000000##FFFFFF
##552EDB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #552edb;
/* rgb */ color: rgb(85, 46, 219);
/* oklch */ color: oklch(47.5% 0.240 282.7);
Tailwind
colors: {
  custom: {
    50: '#956de8',
    500: '#552edb',
    950: '#000000',
  },
}
SCSS
$custom: #552edb;
$custom-light: #956de8;
$custom-dark: #000000;
JSON
{
  "hex": "#552edb",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 253.526,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.23997,
    "h": 282.7
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#552EDB
secondary
#C7D88D
accent
#ED3AC5
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #552EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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