#5538C8#5538C8

#5538C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.209 H 284.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5538C8
RGBrgb(85, 56, 200)
HSLhsl(252, 57%, 50%)
HSVhsv(252, 72%, 78%)
CMYKcmyk(57.5%, 72%, 0%, 21.6%)
CIE-LABlab(35.85, 50.18, -70.40)
CIE-LCHlch(35.85, 86.46, 305.48°)
OKLaboklab(46.9% 0.051 -0.2028)
OKLCHoklch(46.9% 0.209 284.1)
XYZxyz(15.5826, 8.9288, 55.5347)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5538C8 #ABC838
analogous
#3863C8 #5538C8 #9D38C8
triadic
#5538C8 #C85538 #38C855
tetradic
#5538C8 #C83863 #ABC838 #38C89D
square
#5538C8 #C83863 #ABC838 #38C89D
split-complementary
#5538C8 #C89D38 #63C838
monochromatic
#2C1D69 #402A99 #5538C8 #7E68D5 #A798E3

Accessibility & contrast

On white

7.54
#5538C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5538C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5538C8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5538C8#FFFFFF#000000##FFFFFF
##5538C81.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#165F7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5538c8;
/* rgb */ color: rgb(85, 56, 200);
/* oklch */ color: oklch(46.9% 0.209 284.1);
Tailwind
colors: {
  custom: {
    50: '#9172da',
    500: '#5538c8',
    950: '#000000',
  },
}
SCSS
$custom: #5538c8;
$custom-light: #9172da;
$custom-dark: #000000;
JSON
{
  "hex": "#5538c8",
  "rgb": {
    "r": 85,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 252.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.20907,
    "h": 284.1
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#5538C8
secondary
#C1CE8E
accent
#E048C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5538C8

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

Preview Lab → · Contrast checker → · Palette generator →

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