#5738C8#5738C8

#5738C8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.209 H 284.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5738C8
RGBrgb(87, 56, 200)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 72%, 78%)
CMYKcmyk(56.5%, 72%, 0%, 21.6%)
CIE-LABlab(36.03, 50.46, -70.10)
CIE-LCHlch(36.03, 86.37, 305.75°)
OKLaboklab(47.07% 0.0539 -0.2018)
OKLCHoklch(47.07% 0.209 284.9)
XYZxyz(15.7668, 9.0238, 55.5433)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5738C8 #A9C838
analogous
#3861C8 #5738C8 #9F38C8
triadic
#5738C8 #C85738 #38C857
tetradic
#5738C8 #C83861 #A9C838 #38C89F
square
#5738C8 #C83861 #A9C838 #38C89F
split-complementary
#5738C8 #C89F38 #61C838
monochromatic
#2D1D69 #422A99 #5738C8 #7F68D5 #A898E3

Accessibility & contrast

On white

7.49
#5738C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5738C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5738C8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5738C8#FFFFFF#000000##FFFFFF
##5738C81.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#1F5F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5738c8;
/* rgb */ color: rgb(87, 56, 200);
/* oklch */ color: oklch(47.1% 0.209 284.9);
Tailwind
colors: {
  custom: {
    50: '#9272da',
    500: '#5738c8',
    950: '#000000',
  },
}
SCSS
$custom: #5738c8;
$custom-light: #9272da;
$custom-dark: #000000;
JSON
{
  "hex": "#5738c8",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 252.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.20885,
    "h": 284.9
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#5738C8
secondary
#C0CE8E
accent
#E048BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5738C8

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

Preview Lab → · Contrast checker → · Palette generator →

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