#5935C3#5935C3

#5935C3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.206 H 287.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5935C3
RGBrgb(89, 53, 195)
HSLhsl(255, 57%, 49%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(54.4%, 72.8%, 0%, 23.5%)
CIE-LABlab(35.22, 50.86, -68.50)
CIE-LCHlch(35.22, 85.31, 306.59°)
OKLaboklab(46.41% 0.0602 -0.197)
OKLCHoklch(46.41% 0.206 287)
XYZxyz(15.2403, 8.6094, 52.4779)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935C3 #9FC335
analogous
#3558C3 #5935C3 #A035C3
triadic
#5935C3 #C35935 #35C359
tetradic
#5935C3 #C33558 #9FC335 #35C3A0
square
#5935C3 #C33558 #9FC335 #35C3A0
split-complementary
#5935C3 #C3A035 #58C335
monochromatic
#2D1B63 #432893 #5935C3 #7E61D4 #A591E1

Accessibility & contrast

On white

7.71
#5935C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5935C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935C3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935C3#FFFFFF#000000##FFFFFF
##5935C31.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#2C5C79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5935c3;
/* rgb */ color: rgb(89, 53, 195);
/* oklch */ color: oklch(46.4% 0.206 287.0);
Tailwind
colors: {
  custom: {
    50: '#9370d6',
    500: '#5935c3',
    950: '#000000',
  },
}
SCSS
$custom: #5935c3;
$custom-light: #9370d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5935c3",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 255.211,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.206,
    "h": 287
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#5935C3
secondary
#BBCC88
accent
#E147BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5935C3

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

Preview Lab → · Contrast checker → · Palette generator →

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