#5523E2#5523E2

#5523E2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.3% C 0.255 H 282.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5523E2
RGBrgb(85, 35, 226)
HSLhsl(256, 77%, 51%)
HSVhsv(256, 85%, 89%)
CMYKcmyk(62.4%, 84.5%, 0%, 11.4%)
CIE-LABlab(35.25, 66.61, -86.41)
CIE-LCHlch(35.25, 109.10, 307.63°)
OKLaboklab(47.25% 0.0555 -0.2492)
OKLCHoklch(47.25% 0.255 282.5)
XYZxyz(18.0705, 8.6230, 72.6489)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5523E2 #B0E223
analogous
#2350E2 #5523E2 #B523E2
triadic
#5523E2 #E25523 #23E255
tetradic
#5523E2 #E22350 #B0E223 #23E2B5
square
#5523E2 #E22350 #B0E223 #23E2B5
split-complementary
#5523E2 #E2B523 #50E223
monochromatic
#2C107A #3F17B1 #5523E2 #7F59E9 #A98FF0

Accessibility & contrast

On white

7.71
#5523E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5523E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5523E2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5523E2#FFFFFF#000000##FFFFFF
##5523E21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006187
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5523e2;
/* rgb */ color: rgb(85, 35, 226);
/* oklch */ color: oklch(47.3% 0.255 282.5);
Tailwind
colors: {
  custom: {
    50: '#9768ed',
    500: '#5523e2',
    950: '#000000',
  },
}
SCSS
$custom: #5523e2;
$custom-light: #9768ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5523e2",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 255.707,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.25529,
    "h": 282.5
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#5523E2
secondary
#C5DB86
accent
#F335C1
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5523E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5523E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva