#5535EA#5535EA

#5535EA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.251 H 280.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5535EA
RGBrgb(85, 53, 234)
HSLhsl(251, 81%, 56%)
HSVhsv(251, 77%, 92%)
CMYKcmyk(63.7%, 77.4%, 0%, 8.2%)
CIE-LABlab(38.58, 61.47, -85.45)
CIE-LCHlch(38.58, 105.27, 305.73°)
OKLaboklab(49.79% 0.0447 -0.2467)
OKLCHoklch(49.79% 0.251 280.3)
XYZxyz(19.8660, 10.4164, 78.7896)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535EA #CAEA35
analogous
#3570EA #5535EA #B035EA
triadic
#5535EA #EA5535 #35EA55
tetradic
#5535EA #EA3570 #CAEA35 #35EAB0
square
#5535EA #EA3570 #CAEA35 #35EAB0
split-complementary
#5535EA #EAB035 #70EA35
monochromatic
#271095 #3615CD #5535EA #846CF0 #B2A4F6

Accessibility & contrast

On white

6.81
#5535EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5535EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5535EA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535EA#FFFFFF#000000##FFFFFF
##5535EA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0054E7
Tritanopia (blue-blind)
#006B8F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5535ea;
/* rgb */ color: rgb(85, 53, 234);
/* oklch */ color: oklch(49.8% 0.251 280.3);
Tailwind
colors: {
  custom: {
    50: '#9771f2',
    500: '#5535ea',
    950: '#000000',
  },
}
SCSS
$custom: #5535ea;
$custom-light: #9771f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5535ea",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 250.608,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.25068,
    "h": 280.3
  },
  "luminance": 0.10418
}

Semantic roles & 50–950 ramp

primary
#5535EA
secondary
#D5E398
accent
#F830D4
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5535EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5535EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva