#5734DA#5734DA

#5734DA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.233 H 282.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5734DA
RGBrgb(87, 52, 218)
HSLhsl(253, 69%, 53%)
HSVhsv(253, 76%, 85%)
CMYKcmyk(60.1%, 76.1%, 0%, 14.5%)
CIE-LABlab(37.01, 57.63, -78.90)
CIE-LCHlch(37.01, 97.71, 306.14°)
OKLaboklab(48.27% 0.0523 -0.2275)
OKLCHoklch(48.27% 0.233 282.9)
XYZxyz(17.8094, 9.5430, 67.2196)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734DA #B7DA34
analogous
#3464DA #5734DA #AA34DA
triadic
#5734DA #DA5734 #34DA57
tetradic
#5734DA #DA3464 #B7DA34 #34DAAA
square
#5734DA #DA3464 #B7DA34 #34DAAA
split-complementary
#5734DA #DAAA34 #64DA34
monochromatic
#2C177D #3F20B1 #5734DA #8268E3 #AD9CED

Accessibility & contrast

On white

7.22
#5734DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5734DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734DA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734DA#FFFFFF#000000##FFFFFF
##5734DA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDF
Deuteranopia (green-blind)
#0051D7
Tritanopia (blue-blind)
#006486
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5734da;
/* rgb */ color: rgb(87, 52, 218);
/* oklch */ color: oklch(48.3% 0.233 282.9);
Tailwind
colors: {
  custom: {
    50: '#9570e7',
    500: '#5734da',
    950: '#000000',
  },
}
SCSS
$custom: #5734da;
$custom-light: #9570e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5734da",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 252.651,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48268,
    "c": 0.23344,
    "h": 282.9
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#5734DA
secondary
#CAD991
accent
#EC3CC7
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5734DA

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

Preview Lab → · Contrast checker → · Palette generator →

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