#5835C4#5835C4

#5835C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.207 H 286.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5835C4
RGBrgb(88, 53, 196)
HSLhsl(255, 57%, 49%)
HSVhsv(255, 73%, 77%)
CMYKcmyk(55.1%, 73%, 0%, 23.1%)
CIE-LABlab(35.21, 51.00, -69.10)
CIE-LCHlch(35.21, 85.88, 306.43°)
OKLaboklab(46.4% 0.0585 -0.1988)
OKLCHoklch(46.4% 0.207 286.4)
XYZxyz(15.2584, 8.6056, 53.0709)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835C4 #A1C435
analogous
#355AC4 #5835C4 #A035C4
triadic
#5835C4 #C45835 #35C458
tetradic
#5835C4 #C4355A #A1C435 #35C4A0
square
#5835C4 #C4355A #A1C435 #35C4A0
split-complementary
#5835C4 #C4A035 #5AC435
monochromatic
#2D1B64 #422894 #5835C4 #7E62D4 #A592E1

Accessibility & contrast

On white

7.72
#5835C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5835C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835C4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835C4#FFFFFF#000000##FFFFFF
##5835C41.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#285C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5835c4;
/* rgb */ color: rgb(88, 53, 196);
/* oklch */ color: oklch(46.4% 0.207 286.4);
Tailwind
colors: {
  custom: {
    50: '#9270d7',
    500: '#5835c4',
    950: '#000000',
  },
}
SCSS
$custom: #5835c4;
$custom-light: #9270d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5835c4",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 254.685,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.20724,
    "h": 286.4
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#5835C4
secondary
#BCCC88
accent
#E147BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5835C4

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

Preview Lab → · Contrast checker → · Palette generator →

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