#5835C5#5835C5

#5835C5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.208 H 286.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5835C5
RGBrgb(88, 53, 197)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 73%, 77%)
CMYKcmyk(55.3%, 73.1%, 0%, 22.7%)
CIE-LABlab(35.30, 51.28, -69.53)
CIE-LCHlch(35.30, 86.40, 306.41°)
OKLaboklab(46.5% 0.0583 -0.2001)
OKLCHoklch(46.5% 0.208 286.2)
XYZxyz(15.3726, 8.6513, 53.6723)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835C5 #A2C535
analogous
#355AC5 #5835C5 #A035C5
triadic
#5835C5 #C55835 #35C558
tetradic
#5835C5 #C5355A #A2C535 #35C5A0
square
#5835C5 #C5355A #A2C535 #35C5A0
split-complementary
#5835C5 #C5A035 #5AC535
monochromatic
#2D1B65 #422895 #5835C5 #7E62D5 #A693E2

Accessibility & contrast

On white

7.69
#5835C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5835C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835C5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835C5#FFFFFF#000000##FFFFFF
##5835C51.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)
#0057C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#275C7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5835c5;
/* rgb */ color: rgb(88, 53, 197);
/* oklch */ color: oklch(46.5% 0.208 286.2);
Tailwind
colors: {
  custom: {
    50: '#9270d8',
    500: '#5835c5',
    950: '#000000',
  },
}
SCSS
$custom: #5835c5;
$custom-light: #9270d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5835c5",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 254.583,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.2084,
    "h": 286.2
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5835C5

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

Preview Lab → · Contrast checker → · Palette generator →

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