#5835BB#5835BB

#5835BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.197 H 287.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5835BB
RGBrgb(88, 53, 187)
HSLhsl(256, 56%, 47%)
HSVhsv(256, 72%, 73%)
CMYKcmyk(52.9%, 71.7%, 0%, 26.7%)
CIE-LABlab(34.41, 48.42, -65.12)
CIE-LCHlch(34.41, 81.15, 306.63°)
OKLaboklab(45.59% 0.0605 -0.1872)
OKLCHoklch(45.59% 0.197 287.9)
XYZxyz(14.2646, 8.2081, 47.8368)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5835BB #98BB35
analogous
#3555BB #5835BB #9B35BB
triadic
#5835BB #BB5835 #35BB58
tetradic
#5835BB #BB3555 #98BB35 #35BB9B
square
#5835BB #BB3555 #98BB35 #35BB9B
split-complementary
#5835BB #BB9B35 #55BB35
monochromatic
#2B1A5C #42278B #5835BB #7B5CD1 #A28CDE

Accessibility & contrast

On white

7.95
#5835BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5835BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5835BB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5835BB#FFFFFF#000000##FFFFFF
##5835BB1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#315974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5835bb;
/* rgb */ color: rgb(88, 53, 187);
/* oklch */ color: oklch(45.6% 0.197 287.9);
Tailwind
colors: {
  custom: {
    50: '#916fd1',
    500: '#5835bb',
    950: '#000000',
  },
}
SCSS
$custom: #5835bb;
$custom-light: #916fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5835bb",
  "rgb": {
    "r": 88,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 255.672,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.19669,
    "h": 287.9
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#5835BB
secondary
#B7C983
accent
#DF49B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5835BB

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

Preview Lab → · Contrast checker → · Palette generator →

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