#5734C9#5734C9

#5734C9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.214 H 285.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5734C9
RGBrgb(87, 52, 201)
HSLhsl(254, 59%, 50%)
HSVhsv(254, 74%, 79%)
CMYKcmyk(56.7%, 74.1%, 0%, 21.2%)
CIE-LABlab(35.40, 52.79, -71.72)
CIE-LCHlch(35.40, 89.05, 306.36°)
OKLaboklab(46.65% 0.0566 -0.2065)
OKLCHoklch(46.65% 0.214 285.3)
XYZxyz(15.6979, 8.6983, 56.0988)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734C9 #A6C934
analogous
#345CC9 #5734C9 #A234C9
triadic
#5734C9 #C95734 #34C957
tetradic
#5734C9 #C9345C #A6C934 #34C9A2
square
#5734C9 #C9345C #A6C934 #34C9A2
split-complementary
#5734C9 #C9A234 #5CC934
monochromatic
#2D1B68 #422798 #5734C9 #7F63D7 #A794E3

Accessibility & contrast

On white

7.66
#5734C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5734C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734C9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734C9#FFFFFF#000000##FFFFFF
##5734C91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#1D5E7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5734c9;
/* rgb */ color: rgb(87, 52, 201);
/* oklch */ color: oklch(46.7% 0.214 285.3);
Tailwind
colors: {
  custom: {
    50: '#936fdb',
    500: '#5734c9',
    950: '#000000',
  },
}
SCSS
$custom: #5734c9;
$custom-light: #936fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5734c9",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 254.094,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.21414,
    "h": 285.3
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5734C9
secondary
#BECE8A
accent
#E246BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5734C9

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

Preview Lab → · Contrast checker → · Palette generator →

#5734C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva