#5534C8#5534C8

#5534C8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.213 H 284.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5534C8
RGBrgb(85, 52, 200)
HSLhsl(253, 59%, 49%)
HSVhsv(253, 74%, 78%)
CMYKcmyk(57.5%, 74%, 0%, 21.6%)
CIE-LABlab(35.12, 52.23, -71.61)
CIE-LCHlch(35.12, 88.63, 306.11°)
OKLaboklab(46.38% 0.054 -0.2062)
OKLCHoklch(46.38% 0.213 284.7)
XYZxyz(15.3965, 8.5565, 55.4726)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534C8 #A7C834
analogous
#345DC8 #5534C8 #9F34C8
triadic
#5534C8 #C85534 #34C855
tetradic
#5534C8 #C8345D #A7C834 #34C89F
square
#5534C8 #C8345D #A7C834 #34C89F
split-complementary
#5534C8 #C89F34 #5DC834
monochromatic
#2C1B67 #402797 #5534C8 #7D63D6 #A593E3

Accessibility & contrast

On white

7.75
#5534C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5534C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534C8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534C8#FFFFFF#000000##FFFFFF
##5534C81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#165D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5534c8;
/* rgb */ color: rgb(85, 52, 200);
/* oklch */ color: oklch(46.4% 0.213 284.7);
Tailwind
colors: {
  custom: {
    50: '#916fda',
    500: '#5534c8',
    950: '#000000',
  },
}
SCSS
$custom: #5534c8;
$custom-light: #916fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5534c8",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 253.378,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.21319,
    "h": 284.7
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#5534C8
secondary
#BFCE8A
accent
#E246BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5534C8

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

Preview Lab → · Contrast checker → · Palette generator →

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