#5525E2#5525E2

#5525E2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.4% C 0.254 H 282.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5525E2
RGBrgb(85, 37, 226)
HSLhsl(255, 77%, 52%)
HSVhsv(255, 84%, 89%)
CMYKcmyk(62.4%, 83.6%, 0%, 11.4%)
CIE-LABlab(35.49, 65.90, -86.01)
CIE-LCHlch(35.49, 108.35, 307.46°)
OKLaboklab(47.41% 0.0546 -0.2481)
OKLCHoklch(47.41% 0.254 282.4)
XYZxyz(18.1311, 8.7441, 72.6691)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5525E2 #B2E225
analogous
#2554E2 #5525E2 #B425E2
triadic
#5525E2 #E25525 #25E255
tetradic
#5525E2 #E22554 #B2E225 #25E2B4
square
#5525E2 #E22554 #B2E225 #25E2B4
split-complementary
#5525E2 #E2B425 #54E225
monochromatic
#2C117C #3F18B2 #5525E2 #7F5BE9 #A991F0

Accessibility & contrast

On white

7.64
#5525E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5525E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5525E2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5525E2#FFFFFF#000000##FFFFFF
##5525E21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5525e2;
/* rgb */ color: rgb(85, 37, 226);
/* oklch */ color: oklch(47.4% 0.254 282.4);
Tailwind
colors: {
  custom: {
    50: '#9769ed',
    500: '#5525e2',
    950: '#000000',
  },
}
SCSS
$custom: #5525e2;
$custom-light: #9769ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5525e2",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 255.238,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.25403,
    "h": 282.4
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#5525E2
secondary
#C6DB88
accent
#F335C3
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5525E2

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

Preview Lab → · Contrast checker → · Palette generator →

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