#5734BE#5734BE

#5734BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.201 H 287.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5734BE
RGBrgb(87, 52, 190)
HSLhsl(255, 57%, 47%)
HSVhsv(255, 73%, 75%)
CMYKcmyk(54.2%, 72.6%, 0%, 25.5%)
CIE-LABlab(34.39, 49.64, -66.92)
CIE-LCHlch(34.39, 83.33, 306.57°)
OKLaboklab(45.64% 0.0592 -0.1925)
OKLCHoklch(45.64% 0.201 287.1)
XYZxyz(14.4500, 8.1992, 49.5264)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734BE #9BBE34
analogous
#3456BE #5734BE #9C34BE
triadic
#5734BE #BE5734 #34BE57
tetradic
#5734BE #BE3456 #9BBE34 #34BE9C
square
#5734BE #BE3456 #9BBE34 #34BE9C
split-complementary
#5734BE #BE9C34 #56BE34
monochromatic
#2B1A5E #41278E #5734BE #7B5DD3 #A28DE0

Accessibility & contrast

On white

7.95
#5734BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5734BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734BE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734BE#FFFFFF#000000##FFFFFF
##5734BE1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#2C5976
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5734be;
/* rgb */ color: rgb(87, 52, 190);
/* oklch */ color: oklch(45.6% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#916fd3',
    500: '#5734be',
    950: '#000000',
  },
}
SCSS
$custom: #5734be;
$custom-light: #916fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5734be",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 255.217,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.20137,
    "h": 287.1
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#5734BE
secondary
#B8CA84
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5734BE

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

Preview Lab → · Contrast checker → · Palette generator →

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