#5934CF#5934CF

#5934CF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.221 H 285.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5934CF
RGBrgb(89, 52, 207)
HSLhsl(254, 62%, 51%)
HSVhsv(254, 75%, 81%)
CMYKcmyk(57%, 74.9%, 0%, 18.8%)
CIE-LABlab(36.15, 54.76, -73.97)
CIE-LCHlch(36.15, 92.03, 306.51°)
OKLaboklab(47.39% 0.058 -0.213)
OKLCHoklch(47.39% 0.221 285.2)
XYZxyz(16.6069, 9.0838, 59.8977)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934CF #AACF34
analogous
#345CCF #5934CF #A734CF
triadic
#5934CF #CF5934 #34CF59
tetradic
#5934CF #CF345C #AACF34 #34CFA7
square
#5934CF #CF345C #AACF34 #34CFA7
split-complementary
#5934CF #CFA734 #5CCF34
monochromatic
#2E1A6E #4326A0 #5934CF #8165DB #AA97E6

Accessibility & contrast

On white

7.45
#5934CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5934CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934CF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934CF#FFFFFF#000000##FFFFFF
##5934CF1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#0050CC
Tritanopia (blue-blind)
#1B607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5934cf;
/* rgb */ color: rgb(89, 52, 207);
/* oklch */ color: oklch(47.4% 0.221 285.2);
Tailwind
colors: {
  custom: {
    50: '#9570df',
    500: '#5934cf',
    950: '#000000',
  },
}
SCSS
$custom: #5934cf;
$custom-light: #9570df;
$custom-dark: #000000;
JSON
{
  "hex": "#5934cf",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 254.323,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.22079,
    "h": 285.2
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#5934CF
secondary
#C1D28D
accent
#E543BE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5934CF

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

Preview Lab → · Contrast checker → · Palette generator →

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