#5935D0#5935D0

#5935D0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.221 H 285.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5935D0
RGBrgb(89, 53, 208)
HSLhsl(254, 62%, 51%)
HSVhsv(254, 75%, 82%)
CMYKcmyk(57.2%, 74.5%, 0%, 18.4%)
CIE-LABlab(36.41, 54.56, -74.11)
CIE-LCHlch(36.41, 92.03, 306.36°)
OKLaboklab(47.61% 0.0571 -0.2135)
OKLCHoklch(47.61% 0.221 285)
XYZxyz(16.7746, 9.2231, 60.5586)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935D0 #ACD035
analogous
#355ED0 #5935D0 #A635D0
triadic
#5935D0 #D05935 #35D059
tetradic
#5935D0 #D0355E #ACD035 #35D0A6
square
#5935D0 #D0355E #ACD035 #35D0A6
split-complementary
#5935D0 #D0A635 #5ED035
monochromatic
#2E1A70 #4326A2 #5935D0 #8267DC #AB98E7

Accessibility & contrast

On white

7.38
#5935D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5935D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935D0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935D0#FFFFFF#000000##FFFFFF
##5935D01.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#196180
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5935d0;
/* rgb */ color: rgb(89, 53, 208);
/* oklch */ color: oklch(47.6% 0.221 285.0);
Tailwind
colors: {
  custom: {
    50: '#9570e0',
    500: '#5935d0',
    950: '#000000',
  },
}
SCSS
$custom: #5935d0;
$custom-light: #9570e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5935d0",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 253.935,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.22096,
    "h": 285
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#5935D0
secondary
#C3D38E
accent
#E542C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5935D0

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

Preview Lab → · Contrast checker → · Palette generator →

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