#5734DB#5734DB

#5734DB is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.235 H 282.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5734DB
RGBrgb(87, 52, 219)
HSLhsl(253, 70%, 53%)
HSVhsv(253, 76%, 86%)
CMYKcmyk(60.3%, 76.3%, 0%, 14.1%)
CIE-LABlab(37.11, 57.91, -79.32)
CIE-LCHlch(37.11, 98.21, 306.13°)
OKLaboklab(48.37% 0.0521 -0.2287)
OKLCHoklch(48.37% 0.235 282.8)
XYZxyz(17.9407, 9.5955, 67.9108)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734DB #B8DB34
analogous
#3464DB #5734DB #AA34DB
triadic
#5734DB #DB5734 #34DB57
tetradic
#5734DB #DB3464 #B8DB34 #34DBAA
square
#5734DB #DB3464 #B8DB34 #34DBAA
split-complementary
#5734DB #DBAA34 #64DB34
monochromatic
#2C167E #3E20B2 #5734DB #8268E4 #AD9CED

Accessibility & contrast

On white

7.19
#5734DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5734DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734DB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734DB#FFFFFF#000000##FFFFFF
##5734DB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#0052D8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5734db;
/* rgb */ color: rgb(87, 52, 219);
/* oklch */ color: oklch(48.4% 0.235 282.8);
Tailwind
colors: {
  custom: {
    50: '#9670e8',
    500: '#5734db',
    950: '#000000',
  },
}
SCSS
$custom: #5734db;
$custom-light: #9670e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5734db",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 252.575,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.23456,
    "h": 282.8
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5734DB

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

Preview Lab → · Contrast checker → · Palette generator →

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