#5535C8#5535C8

#5535C8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.212 H 284.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5535C8
RGBrgb(85, 53, 200)
HSLhsl(253, 58%, 50%)
HSVhsv(253, 74%, 78%)
CMYKcmyk(57.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(35.30, 51.73, -71.31)
CIE-LCHlch(35.30, 88.10, 305.96°)
OKLaboklab(46.51% 0.0533 -0.2054)
OKLCHoklch(46.51% 0.212 284.5)
XYZxyz(15.4416, 8.6467, 55.4877)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C8 #A8C835
analogous
#355FC8 #5535C8 #9F35C8
triadic
#5535C8 #C85535 #35C855
tetradic
#5535C8 #C8355F #A8C835 #35C89F
square
#5535C8 #C8355F #A8C835 #35C89F
split-complementary
#5535C8 #C89F35 #5FC835
monochromatic
#2C1B67 #402898 #5535C8 #7D64D6 #A695E3

Accessibility & contrast

On white

7.69
#5535C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5535C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C8#FFFFFF#000000##FFFFFF
##5535C81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5535c8;
/* rgb */ color: rgb(85, 53, 200);
/* oklch */ color: oklch(46.5% 0.212 284.5);
Tailwind
colors: {
  custom: {
    50: '#9170da',
    500: '#5535c8',
    950: '#000000',
  },
}
SCSS
$custom: #5535c8;
$custom-light: #9170da;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c8",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 253.061,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.21218,
    "h": 284.5
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#5535C8
secondary
#BFCE8B
accent
#E146C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5535C8

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

Preview Lab → · Contrast checker → · Palette generator →

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