#5535C2#5535C2

#5535C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 45.9% C 0.205 H 285.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5535C2
RGBrgb(85, 53, 194)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 73%, 76%)
CMYKcmyk(56.2%, 72.7%, 0%, 23.9%)
CIE-LABlab(34.75, 49.99, -68.71)
CIE-LCHlch(34.75, 84.97, 306.04°)
OKLaboklab(45.95% 0.0546 -0.1978)
OKLCHoklch(45.95% 0.205 285.4)
XYZxyz(14.7541, 8.3717, 51.8669)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C2 #A2C235
analogous
#355BC2 #5535C2 #9B35C2
triadic
#5535C2 #C25535 #35C255
tetradic
#5535C2 #C2355B #A2C235 #35C29B
square
#5535C2 #C2355B #A2C235 #35C29B
split-complementary
#5535C2 #C29B35 #5BC235
monochromatic
#2B1B62 #402892 #5535C2 #7B60D4 #A391E1

Accessibility & contrast

On white

7.85
#5535C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5535C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C2#FFFFFF#000000##FFFFFF
##5535C21.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#215B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5535c2;
/* rgb */ color: rgb(85, 53, 194);
/* oklch */ color: oklch(45.9% 0.205 285.4);
Tailwind
colors: {
  custom: {
    50: '#9070d6',
    500: '#5535c2',
    950: '#000000',
  },
}
SCSS
$custom: #5535c2;
$custom-light: #9070d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c2",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 253.617,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.20517,
    "h": 285.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#5535C2
secondary
#BCCC87
accent
#E047BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5535C2

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

Preview Lab → · Contrast checker → · Palette generator →

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