#5734C3#5734C3

#5734C3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.207 H 286.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5734C3
RGBrgb(87, 52, 195)
HSLhsl(255, 58%, 48%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(55.4%, 73.3%, 0%, 23.5%)
CIE-LABlab(34.85, 51.07, -69.12)
CIE-LCHlch(34.85, 85.94, 306.46°)
OKLaboklab(46.09% 0.0581 -0.1989)
OKLCHoklch(46.09% 0.207 286.3)
XYZxyz(15.0058, 8.4215, 52.4540)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734C3 #A0C334
analogous
#3458C3 #5734C3 #9E34C3
triadic
#5734C3 #C35734 #34C357
tetradic
#5734C3 #C33458 #A0C334 #34C39E
square
#5734C3 #C33458 #A0C334 #34C39E
split-complementary
#5734C3 #C39E34 #58C334
monochromatic
#2C1A62 #412793 #5734C3 #7C60D5 #A490E1

Accessibility & contrast

On white

7.82
#5734C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5734C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734C3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734C3#FFFFFF#000000##FFFFFF
##5734C31.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#265B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5734c3;
/* rgb */ color: rgb(87, 52, 195);
/* oklch */ color: oklch(46.1% 0.207 286.3);
Tailwind
colors: {
  custom: {
    50: '#926fd6',
    500: '#5734c3',
    950: '#000000',
  },
}
SCSS
$custom: #5734c3;
$custom-light: #926fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5734c3",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 254.685,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.2072,
    "h": 286.3
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#5734C3
secondary
#BBCC87
accent
#E147BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5734C3

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

Preview Lab → · Contrast checker → · Palette generator →

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