#5835BE#5835BE

#5835BE is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.200 H 287.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5835BE
RGBrgb(88, 53, 190)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(53.7%, 72.1%, 0%, 25.5%)
CIE-LABlab(34.68, 49.28, -66.46)
CIE-LCHlch(34.68, 82.73, 306.56°)
OKLaboklab(45.86% 0.0598 -0.1911)
OKLCHoklch(45.86% 0.2 287.4)
XYZxyz(14.5891, 8.3379, 49.5459)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835BE #9BBE35
analogous
#3557BE #5835BE #9C35BE
triadic
#5835BE #BE5835 #35BE58
tetradic
#5835BE #BE3557 #9BBE35 #35BE9C
square
#5835BE #BE3557 #9BBE35 #35BE9C
split-complementary
#5835BE #BE9C35 #57BE35
monochromatic
#2C1A5E #42288E #5835BE #7C5ED2 #A38EDF

Accessibility & contrast

On white

7.87
#5835BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5835BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835BE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835BE#FFFFFF#000000##FFFFFF
##5835BE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#2E5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5835be;
/* rgb */ color: rgb(88, 53, 190);
/* oklch */ color: oklch(45.9% 0.200 287.4);
Tailwind
colors: {
  custom: {
    50: '#9170d3',
    500: '#5835be',
    950: '#000000',
  },
}
SCSS
$custom: #5835be;
$custom-light: #9170d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5835be",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 255.328,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.20023,
    "h": 287.4
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#5835BE
secondary
#B8CA85
accent
#E048B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5835BE

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

Preview Lab → · Contrast checker → · Palette generator →

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