#5734C0#5734C0

#5734C0 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.204 H 286.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5734C0
RGBrgb(87, 52, 192)
HSLhsl(255, 57%, 48%)
HSVhsv(255, 73%, 75%)
CMYKcmyk(54.7%, 72.9%, 0%, 24.7%)
CIE-LABlab(34.57, 50.21, -67.81)
CIE-LCHlch(34.57, 84.37, 306.52°)
OKLaboklab(45.82% 0.0588 -0.195)
OKLCHoklch(45.82% 0.204 286.8)
XYZxyz(14.6701, 8.2872, 50.6855)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734C0 #9DC034
analogous
#3457C0 #5734C0 #9D34C0
triadic
#5734C0 #C05734 #34C057
tetradic
#5734C0 #C03457 #9DC034 #34C09D
square
#5734C0 #C03457 #9DC034 #34C09D
split-complementary
#5734C0 #C09D34 #57C034
monochromatic
#2B1A60 #412790 #5734C0 #7B5ED3 #A38EE0

Accessibility & contrast

On white

7.90
#5734C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5734C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734C0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734C0#FFFFFF#000000##FFFFFF
##5734C01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#2A5A77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5734c0;
/* rgb */ color: rgb(87, 52, 192);
/* oklch */ color: oklch(45.8% 0.204 286.8);
Tailwind
colors: {
  custom: {
    50: '#916fd4',
    500: '#5734c0',
    950: '#000000',
  },
}
SCSS
$custom: #5734c0;
$custom-light: #916fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5734c0",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 255,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.20371,
    "h": 286.8
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#5734C0
secondary
#B9CB85
accent
#E147BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5734C0

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

Preview Lab → · Contrast checker → · Palette generator →

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