#5534C2#5534C2

#5534C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.206 H 285.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5534C2
RGBrgb(85, 52, 194)
HSLhsl(254, 58%, 48%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(56.2%, 73.2%, 0%, 23.9%)
CIE-LABlab(34.56, 50.50, -69.01)
CIE-LCHlch(34.56, 85.51, 306.20°)
OKLaboklab(45.82% 0.0554 -0.1986)
OKLCHoklch(45.82% 0.206 285.6)
XYZxyz(14.7090, 8.2815, 51.8519)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534C2 #A1C234
analogous
#345AC2 #5534C2 #9C34C2
triadic
#5534C2 #C25534 #34C255
tetradic
#5534C2 #C2345A #A1C234 #34C29C
square
#5534C2 #C2345A #A1C234 #34C29C
split-complementary
#5534C2 #C29C34 #5AC234
monochromatic
#2B1A61 #402792 #5534C2 #7A5FD4 #A28FE1

Accessibility & contrast

On white

7.91
#5534C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5534C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534C2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534C2#FFFFFF#000000##FFFFFF
##5534C21.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#215B78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5534c2;
/* rgb */ color: rgb(85, 52, 194);
/* oklch */ color: oklch(45.8% 0.206 285.6);
Tailwind
colors: {
  custom: {
    50: '#906fd6',
    500: '#5534c2',
    950: '#000000',
  },
}
SCSS
$custom: #5534c2;
$custom-light: #906fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5534c2",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 253.944,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.20621,
    "h": 285.6
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#5534C2
secondary
#BCCC86
accent
#E147BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5534C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5534C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva