#5734BD#5734BD

#5734BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.5% C 0.200 H 287.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5734BD
RGBrgb(87, 52, 189)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(54%, 72.5%, 0%, 25.9%)
CIE-LABlab(34.30, 49.35, -66.48)
CIE-LCHlch(34.30, 82.80, 306.59°)
OKLaboklab(45.55% 0.0594 -0.1912)
OKLCHoklch(45.55% 0.2 287.3)
XYZxyz(14.3411, 8.1556, 48.9528)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734BD #9ABD34
analogous
#3456BD #5734BD #9B34BD
triadic
#5734BD #BD5734 #34BD57
tetradic
#5734BD #BD3456 #9ABD34 #34BD9B
square
#5734BD #BD3456 #9ABD34 #34BD9B
split-complementary
#5734BD #BD9B34 #56BD34
monochromatic
#2B1A5D #41278D #5734BD #7A5CD2 #A18CDF

Accessibility & contrast

On white

7.98
#5734BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5734BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734BD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734BD#FFFFFF#000000##FFFFFF
##5734BD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#2D5975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5734bd;
/* rgb */ color: rgb(87, 52, 189);
/* oklch */ color: oklch(45.5% 0.200 287.3);
Tailwind
colors: {
  custom: {
    50: '#916fd2',
    500: '#5734bd',
    950: '#000000',
  },
}
SCSS
$custom: #5734bd;
$custom-light: #916fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5734bd",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 255.328,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.2002,
    "h": 287.3
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#5734BD
secondary
#B8CA83
accent
#E048B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5734BD

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

Preview Lab → · Contrast checker → · Palette generator →

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