#5535BA#5535BA

#5535BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.196 H 286.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5535BA
RGBrgb(85, 53, 186)
HSLhsl(254, 56%, 47%)
HSVhsv(254, 72%, 73%)
CMYKcmyk(54.3%, 71.5%, 0%, 27.1%)
CIE-LABlab(34.03, 47.66, -65.17)
CIE-LCHlch(34.03, 80.74, 306.18°)
OKLaboklab(45.22% 0.0563 -0.1874)
OKLCHoklch(45.22% 0.196 286.7)
XYZxyz(13.8797, 8.0219, 47.2619)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535BA #9ABA35
analogous
#3558BA #5535BA #9835BA
triadic
#5535BA #BA5535 #35BA55
tetradic
#5535BA #BA3558 #9ABA35 #35BA98
square
#5535BA #BA3558 #9ABA35 #35BA98
split-complementary
#5535BA #BA9835 #58BA35
monochromatic
#291A5B #3F278A #5535BA #785CD0 #9F8BDE

Accessibility & contrast

On white

8.06
#5535BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5535BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535BA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535BA#FFFFFF#000000##FFFFFF
##5535BA1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#2A5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5535ba;
/* rgb */ color: rgb(85, 53, 186);
/* oklch */ color: oklch(45.2% 0.196 286.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fd0',
    500: '#5535ba',
    950: '#000000',
  },
}
SCSS
$custom: #5535ba;
$custom-light: #8f6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5535ba",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 254.436,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.1957,
    "h": 286.7
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#5535BA
secondary
#B8C882
accent
#DF49BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5535BA

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

Preview Lab → · Contrast checker → · Palette generator →

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