#5835C7#5835C7

#5835C7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.211 H 285.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5835C7
RGBrgb(88, 53, 199)
HSLhsl(254, 58%, 49%)
HSVhsv(254, 73%, 78%)
CMYKcmyk(55.8%, 73.4%, 0%, 22%)
CIE-LABlab(35.49, 51.86, -70.40)
CIE-LCHlch(35.49, 87.44, 306.37°)
OKLaboklab(46.68% 0.0578 -0.2026)
OKLCHoklch(46.68% 0.211 285.9)
XYZxyz(15.6033, 8.7435, 54.8872)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835C7 #A4C735
analogous
#355BC7 #5835C7 #A135C7
triadic
#5835C7 #C75835 #35C758
tetradic
#5835C7 #C7355B #A4C735 #35C7A1
square
#5835C7 #C7355B #A4C735 #35C7A1
split-complementary
#5835C7 #C7A135 #5BC735
monochromatic
#2D1B66 #432897 #5835C7 #7F64D6 #A794E2

Accessibility & contrast

On white

7.64
#5835C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5835C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835C7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835C7#FFFFFF#000000##FFFFFF
##5835C71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#245D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5835c7;
/* rgb */ color: rgb(88, 53, 199);
/* oklch */ color: oklch(46.7% 0.211 285.9);
Tailwind
colors: {
  custom: {
    50: '#9370d9',
    500: '#5835c7',
    950: '#000000',
  },
}
SCSS
$custom: #5835c7;
$custom-light: #9370d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5835c7",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 254.384,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.21072,
    "h": 285.9
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#5835C7
secondary
#BDCE8A
accent
#E147BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5835C7

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

Preview Lab → · Contrast checker → · Palette generator →

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