#552EDA#552EDA

#552EDA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.239 H 282.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#552EDA
RGBrgb(85, 46, 218)
HSLhsl(254, 70%, 52%)
HSVhsv(254, 79%, 85%)
CMYKcmyk(61%, 78.9%, 0%, 14.5%)
CIE-LABlab(35.88, 60.14, -80.77)
CIE-LCHlch(35.88, 100.70, 306.67°)
OKLaboklab(47.44% 0.0529 -0.2329)
OKLCHoklch(47.44% 0.239 282.8)
XYZxyz(17.3743, 8.9460, 67.1273)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EDA #B3DA2E
analogous
#2E5DDA #552EDA #AB2EDA
triadic
#552EDA #DA552E #2EDA55
tetradic
#552EDA #DA2E5D #B3DA2E #2EDAAB
square
#552EDA #DA2E5D #B3DA2E #2EDAAB
split-complementary
#552EDA #DAAB2E #5DDA2E
monochromatic
#2C1578 #3F1FAC #552EDA #7F62E3 #AA96EC

Accessibility & contrast

On white

7.53
#552EDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#552EDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EDA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EDA#FFFFFF#000000##FFFFFF
##552EDA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004ED7
Tritanopia (blue-blind)
#006284
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #552eda;
/* rgb */ color: rgb(85, 46, 218);
/* oklch */ color: oklch(47.4% 0.239 282.8);
Tailwind
colors: {
  custom: {
    50: '#956de7',
    500: '#552eda',
    950: '#000000',
  },
}
SCSS
$custom: #552eda;
$custom-light: #956de7;
$custom-dark: #000000;
JSON
{
  "hex": "#552eda",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 218
  },
  "hsl": {
    "h": 253.605,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.23889,
    "h": 282.8
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#552EDA
secondary
#C7D88C
accent
#ED3BC4
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #552EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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