#5935C9#5935C9

#5935C9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.213 H 286.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5935C9
RGBrgb(89, 53, 201)
HSLhsl(255, 58%, 50%)
HSVhsv(255, 74%, 79%)
CMYKcmyk(55.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(35.76, 52.57, -71.11)
CIE-LCHlch(35.76, 88.43, 306.47°)
OKLaboklab(46.96% 0.0588 -0.2047)
OKLCHoklch(46.96% 0.213 286)
XYZxyz(15.9324, 8.8862, 56.1227)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935C9 #A5C935
analogous
#355BC9 #5935C9 #A335C9
triadic
#5935C9 #C95935 #35C959
tetradic
#5935C9 #C9355B #A5C935 #35C9A3
square
#5935C9 #C9355B #A5C935 #35C9A3
split-complementary
#5935C9 #C9A335 #5BC935
monochromatic
#2E1B68 #442899 #5935C9 #8065D6 #A895E3

Accessibility & contrast

On white

7.56
#5935C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5935C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935C9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935C9#FFFFFF#000000##FFFFFF
##5935C91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#255E7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5935c9;
/* rgb */ color: rgb(89, 53, 201);
/* oklch */ color: oklch(47.0% 0.213 286.0);
Tailwind
colors: {
  custom: {
    50: '#9470db',
    500: '#5935c9',
    950: '#000000',
  },
}
SCSS
$custom: #5935c9;
$custom-light: #9470db;
$custom-dark: #000000;
JSON
{
  "hex": "#5935c9",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 254.595,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.21294,
    "h": 286
  },
  "luminance": 0.08887
}

Semantic roles & 50–950 ramp

primary
#5935C9
secondary
#BECE8B
accent
#E146BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5935C9

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

Preview Lab → · Contrast checker → · Palette generator →

#5935C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva