#5738CE#5738CE

#5738CE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.216 H 284.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5738CE
RGBrgb(87, 56, 206)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 73%, 81%)
CMYKcmyk(57.8%, 72.8%, 0%, 19.2%)
CIE-LABlab(36.57, 52.21, -72.69)
CIE-LCHlch(36.57, 89.50, 305.69°)
OKLaboklab(47.62% 0.0525 -0.2094)
OKLCHoklch(47.62% 0.216 284.1)
XYZxyz(16.4818, 9.3098, 59.3090)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738CE #AFCE38
analogous
#3864CE #5738CE #A238CE
triadic
#5738CE #CE5738 #38CE57
tetradic
#5738CE #CE3864 #AFCE38 #38CEA2
square
#5738CE #CE3864 #AFCE38 #38CEA2
split-complementary
#5738CE #CEA238 #64CE38
monochromatic
#2D1C70 #4128A1 #5738CE #8069DA #AA9AE6

Accessibility & contrast

On white

7.34
#5738CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5738CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738CE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738CE#FFFFFF#000000##FFFFFF
##5738CE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#136180
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5738ce;
/* rgb */ color: rgb(87, 56, 206);
/* oklch */ color: oklch(47.6% 0.216 284.1);
Tailwind
colors: {
  custom: {
    50: '#9372de',
    500: '#5738ce',
    950: '#000000',
  },
}
SCSS
$custom: #5738ce;
$custom-light: #9372de;
$custom-dark: #000000;
JSON
{
  "hex": "#5738ce",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 252.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.21587,
    "h": 284.1
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#5738CE
secondary
#C4D290
accent
#E444C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5738CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5738CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva