#5734B9#5734B9

#5734B9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.195 H 288.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5734B9
RGBrgb(87, 52, 185)
HSLhsl(256, 56%, 46%)
HSVhsv(256, 72%, 73%)
CMYKcmyk(53%, 71.9%, 0%, 27.5%)
CIE-LABlab(33.95, 48.21, -64.70)
CIE-LCHlch(33.95, 80.69, 306.69°)
OKLaboklab(45.19% 0.0603 -0.186)
OKLCHoklch(45.19% 0.195 288)
XYZxyz(13.9129, 7.9843, 46.6976)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734B9 #96B934
analogous
#3454B9 #5734B9 #9A34B9
triadic
#5734B9 #B95734 #34B957
tetradic
#5734B9 #B93454 #96B934 #34B99A
square
#5734B9 #B93454 #96B934 #34B99A
split-complementary
#5734B9 #B99A34 #54B934
monochromatic
#2A1959 #412789 #5734B9 #795AD1 #A089DE

Accessibility & contrast

On white

8.09
#5734B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5734B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734B9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734B9#FFFFFF#000000##FFFFFF
##5734B91.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#315773
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5734b9;
/* rgb */ color: rgb(87, 52, 185);
/* oklch */ color: oklch(45.2% 0.195 288.0);
Tailwind
colors: {
  custom: {
    50: '#906fcf',
    500: '#5734b9',
    950: '#000000',
  },
}
SCSS
$custom: #5734b9;
$custom-light: #906fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5734b9",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 255.789,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.19549,
    "h": 288
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#5734B9
secondary
#B5C881
accent
#DF48B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5734B9

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

Preview Lab → · Contrast checker → · Palette generator →

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