#552AC7#552AC7

#552AC7 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.221 H 286.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#552AC7
RGBrgb(85, 42, 199)
HSLhsl(256, 65%, 47%)
HSVhsv(256, 79%, 78%)
CMYKcmyk(57.3%, 78.9%, 0%, 22%)
CIE-LABlab(33.37, 56.67, -73.89)
CIE-LCHlch(33.37, 93.12, 307.49°)
OKLaboklab(45.13% 0.061 -0.2128)
OKLCHoklch(45.13% 0.221 286)
XYZxyz(14.8800, 7.7099, 54.7258)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AC7 #9CC72A
analogous
#2A4EC7 #552AC7 #A32AC7
triadic
#552AC7 #C7552A #2AC755
tetradic
#552AC7 #C72A4E #9CC72A #2AC7A3
square
#552AC7 #C72A4E #9CC72A #2AC7A3
split-complementary
#552AC7 #C7A32A #4EC72A
monochromatic
#2A1562 #3F1F94 #552AC7 #7853DB #A086E5

Accessibility & contrast

On white

8.26
#552AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#552AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AC7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AC7#FFFFFF#000000##FFFFFF
##552AC71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#1A5879
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #552ac7;
/* rgb */ color: rgb(85, 42, 199);
/* oklch */ color: oklch(45.1% 0.221 286.0);
Tailwind
colors: {
  custom: {
    50: '#926ad9',
    500: '#552ac7',
    950: '#000000',
  },
}
SCSS
$custom: #552ac7;
$custom-light: #926ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#552ac7",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 256.433,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.22141,
    "h": 286
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#552AC7
secondary
#B9CF7E
accent
#E840BA
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #552AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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