#5734BB#5734BB

#5734BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.198 H 287.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5734BB
RGBrgb(87, 52, 187)
HSLhsl(256, 56%, 47%)
HSVhsv(256, 72%, 73%)
CMYKcmyk(53.5%, 72.2%, 0%, 26.7%)
CIE-LABlab(34.13, 48.78, -65.60)
CIE-LCHlch(34.13, 81.75, 306.64°)
OKLaboklab(45.37% 0.0599 -0.1886)
OKLCHoklch(45.37% 0.198 287.6)
XYZxyz(14.1255, 8.0694, 47.8173)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734BB #98BB34
analogous
#3454BB #5734BB #9B34BB
triadic
#5734BB #BB5734 #34BB57
tetradic
#5734BB #BB3454 #98BB34 #34BB9B
square
#5734BB #BB3454 #98BB34 #34BB9B
split-complementary
#5734BB #BB9B34 #54BB34
monochromatic
#2A195B #41278B #5734BB #7A5BD1 #A08BDF

Accessibility & contrast

On white

8.03
#5734BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5734BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734BB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734BB#FFFFFF#000000##FFFFFF
##5734BB1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#2F5874
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5734bb;
/* rgb */ color: rgb(87, 52, 187);
/* oklch */ color: oklch(45.4% 0.198 287.6);
Tailwind
colors: {
  custom: {
    50: '#906fd1',
    500: '#5734bb',
    950: '#000000',
  },
}
SCSS
$custom: #5734bb;
$custom-light: #906fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5734bb",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 255.556,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.19785,
    "h": 287.6
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#5734BB
secondary
#B6C982
accent
#E048B8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5734BB

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

Preview Lab → · Contrast checker → · Palette generator →

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