#5734BC#5734BC

#5734BC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.199 H 287.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5734BC
RGBrgb(87, 52, 188)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 72%, 74%)
CMYKcmyk(53.7%, 72.3%, 0%, 26.3%)
CIE-LABlab(34.22, 49.07, -66.04)
CIE-LCHlch(34.22, 82.27, 306.61°)
OKLaboklab(45.46% 0.0596 -0.1899)
OKLCHoklch(45.46% 0.199 287.4)
XYZxyz(14.2329, 8.1123, 48.3831)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734BC #99BC34
analogous
#3455BC #5734BC #9B34BC
triadic
#5734BC #BC5734 #34BC57
tetradic
#5734BC #BC3455 #99BC34 #34BC9B
square
#5734BC #BC3455 #99BC34 #34BC9B
split-complementary
#5734BC #BC9B34 #55BC34
monochromatic
#2B195C #41278C #5734BC #7A5BD2 #A18BDF

Accessibility & contrast

On white

8.01
#5734BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5734BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734BC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734BC#FFFFFF#000000##FFFFFF
##5734BC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#2E5875
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5734bc;
/* rgb */ color: rgb(87, 52, 188);
/* oklch */ color: oklch(45.5% 0.199 287.4);
Tailwind
colors: {
  custom: {
    50: '#916fd1',
    500: '#5734bc',
    950: '#000000',
  },
}
SCSS
$custom: #5734bc;
$custom-light: #916fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5734bc",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 255.441,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.19903,
    "h": 287.4
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5734BC

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

Preview Lab → · Contrast checker → · Palette generator →

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