#5839DA#5839DA

#5839DA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.229 H 282.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5839DA
RGBrgb(88, 57, 218)
HSLhsl(252, 69%, 54%)
HSVhsv(252, 74%, 85%)
CMYKcmyk(59.6%, 73.9%, 0%, 14.5%)
CIE-LABlab(37.95, 55.31, -77.35)
CIE-LCHlch(37.95, 95.09, 305.57°)
OKLaboklab(48.95% 0.0505 -0.223)
OKLCHoklch(48.95% 0.229 282.8)
XYZxyz(18.1386, 10.0617, 67.3024)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5839DA #BBDA39
analogous
#396BDA #5839DA #A939DA
triadic
#5839DA #DA5839 #39DA58
tetradic
#5839DA #DA396B #BBDA39 #39DAA9
square
#5839DA #DA396B #BBDA39 #39DAA9
split-complementary
#5839DA #DAA939 #6BDA39
monochromatic
#2C1881 #3E22B4 #5839DA #836DE4 #AFA0ED

Accessibility & contrast

On white

6.97
#5839DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5839DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5839DA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5839DA#FFFFFF#000000##FFFFFF
##5839DA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5839da;
/* rgb */ color: rgb(88, 57, 218);
/* oklch */ color: oklch(49.0% 0.229 282.8);
Tailwind
colors: {
  custom: {
    50: '#9673e7',
    500: '#5839da',
    950: '#000000',
  },
}
SCSS
$custom: #5839da;
$custom-light: #9673e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5839da",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 251.553,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48952,
    "c": 0.22862,
    "h": 282.8
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#5839DA
secondary
#CDDA95
accent
#EB3CCA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5839DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5839DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva