#5934DB#5934DB

#5934DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.234 H 283.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5934DB
RGBrgb(89, 52, 219)
HSLhsl(253, 70%, 53%)
HSVhsv(253, 76%, 86%)
CMYKcmyk(59.4%, 76.3%, 0%, 14.1%)
CIE-LABlab(37.29, 58.14, -79.01)
CIE-LCHlch(37.29, 98.10, 306.35°)
OKLaboklab(48.53% 0.0549 -0.2278)
OKLCHoklch(48.53% 0.234 283.6)
XYZxyz(18.1301, 9.6931, 67.9197)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934DB #B6DB34
analogous
#3463DB #5934DB #AC34DB
triadic
#5934DB #DB5934 #34DB59
tetradic
#5934DB #DB3463 #B6DB34 #34DBAC
square
#5934DB #DB3463 #B6DB34 #34DBAC
split-complementary
#5934DB #DBAC34 #63DB34
monochromatic
#2D167E #4020B2 #5934DB #8468E4 #AE9CED

Accessibility & contrast

On white

7.15
#5934DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5934DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934DB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934DB#FFFFFF#000000##FFFFFF
##5934DB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006486
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5934db;
/* rgb */ color: rgb(89, 52, 219);
/* oklch */ color: oklch(48.5% 0.234 283.6);
Tailwind
colors: {
  custom: {
    50: '#9770e8',
    500: '#5934db',
    950: '#000000',
  },
}
SCSS
$custom: #5934db;
$custom-light: #9770e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5934db",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 253.293,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.2343,
    "h": 283.6
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#5934DB
secondary
#C9D991
accent
#ED3BC5
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5934DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5934DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva