#5734C8#5734C8

#5734C8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.213 H 285.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5734C8
RGBrgb(87, 52, 200)
HSLhsl(254, 59%, 49%)
HSVhsv(254, 74%, 78%)
CMYKcmyk(56.5%, 74%, 0%, 21.6%)
CIE-LABlab(35.30, 52.50, -71.29)
CIE-LCHlch(35.30, 88.54, 306.37°)
OKLaboklab(46.56% 0.0569 -0.2052)
OKLCHoklch(46.56% 0.213 285.5)
XYZxyz(15.5806, 8.6514, 55.4813)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734C8 #A5C834
analogous
#345BC8 #5734C8 #A134C8
triadic
#5734C8 #C85734 #34C857
tetradic
#5734C8 #C8345B #A5C834 #34C8A1
square
#5734C8 #C8345B #A5C834 #34C8A1
split-complementary
#5734C8 #C8A134 #5BC834
monochromatic
#2D1B67 #422797 #5734C8 #7E63D6 #A693E3

Accessibility & contrast

On white

7.69
#5734C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5734C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734C8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734C8#FFFFFF#000000##FFFFFF
##5734C81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#1F5D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5734c8;
/* rgb */ color: rgb(87, 52, 200);
/* oklch */ color: oklch(46.6% 0.213 285.5);
Tailwind
colors: {
  custom: {
    50: '#926fda',
    500: '#5734c8',
    950: '#000000',
  },
}
SCSS
$custom: #5734c8;
$custom-light: #926fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5734c8",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 254.189,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.21299,
    "h": 285.5
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#5734C8
secondary
#BECE8A
accent
#E246BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5734C8

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

Preview Lab → · Contrast checker → · Palette generator →

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