#5835C3#5835C3

#5835C3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.206 H 286.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5835C3
RGBrgb(88, 53, 195)
HSLhsl(255, 57%, 49%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(54.9%, 72.8%, 0%, 23.5%)
CIE-LABlab(35.12, 50.71, -68.66)
CIE-LCHlch(35.12, 85.36, 306.45°)
OKLaboklab(46.31% 0.0587 -0.1975)
OKLCHoklch(46.31% 0.206 286.6)
XYZxyz(15.1450, 8.5602, 52.4734)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835C3 #A0C335
analogous
#3559C3 #5835C3 #9F35C3
triadic
#5835C3 #C35835 #35C358
tetradic
#5835C3 #C33559 #A0C335 #35C39F
square
#5835C3 #C33559 #A0C335 #35C39F
split-complementary
#5835C3 #C39F35 #59C335
monochromatic
#2D1B63 #422893 #5835C3 #7D61D4 #A591E1

Accessibility & contrast

On white

7.74
#5835C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5835C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835C3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835C3#FFFFFF#000000##FFFFFF
##5835C31.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#295C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5835c3;
/* rgb */ color: rgb(88, 53, 195);
/* oklch */ color: oklch(46.3% 0.206 286.6);
Tailwind
colors: {
  custom: {
    50: '#9270d6',
    500: '#5835c3',
    950: '#000000',
  },
}
SCSS
$custom: #5835c3;
$custom-light: #9270d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5835c3",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 254.789,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.20607,
    "h": 286.6
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#5835C3
secondary
#BBCC88
accent
#E147BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5835C3

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

Preview Lab → · Contrast checker → · Palette generator →

#5835C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva