#5734C4#5734C4

#5734C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.208 H 286.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5734C4
RGBrgb(87, 52, 196)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 73%, 77%)
CMYKcmyk(55.6%, 73.5%, 0%, 23.1%)
CIE-LABlab(34.94, 51.36, -69.56)
CIE-LCHlch(34.94, 86.46, 306.44°)
OKLaboklab(46.19% 0.0578 -0.2002)
OKLCHoklch(46.19% 0.208 286.1)
XYZxyz(15.1193, 8.4669, 53.0514)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734C4 #A1C434
analogous
#3459C4 #5734C4 #9F34C4
triadic
#5734C4 #C45734 #34C457
tetradic
#5734C4 #C43459 #A1C434 #34C49F
square
#5734C4 #C43459 #A1C434 #34C49F
split-complementary
#5734C4 #C49F34 #59C434
monochromatic
#2C1A63 #422794 #5734C4 #7D60D5 #A491E2

Accessibility & contrast

On white

7.80
#5734C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5734C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734C4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734C4#FFFFFF#000000##FFFFFF
##5734C41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#255C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5734c4;
/* rgb */ color: rgb(87, 52, 196);
/* oklch */ color: oklch(46.2% 0.208 286.1);
Tailwind
colors: {
  custom: {
    50: '#926fd7',
    500: '#5734c4',
    950: '#000000',
  },
}
SCSS
$custom: #5734c4;
$custom-light: #926fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5734c4",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 254.583,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.20837,
    "h": 286.1
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#5734C4
secondary
#BCCC87
accent
#E147BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5734C4

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

Preview Lab → · Contrast checker → · Palette generator →

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