#5723E2#5723E2

#5723E2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.4% C 0.255 H 283.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5723E2
RGBrgb(87, 35, 226)
HSLhsl(256, 77%, 51%)
HSVhsv(256, 85%, 89%)
CMYKcmyk(61.5%, 84.5%, 0%, 11.4%)
CIE-LABlab(35.44, 66.77, -86.09)
CIE-LCHlch(35.44, 108.95, 307.80°)
OKLaboklab(47.42% 0.0585 -0.2482)
OKLCHoklch(47.42% 0.255 283.3)
XYZxyz(18.2547, 8.7180, 72.6576)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5723E2 #AEE223
analogous
#234EE2 #5723E2 #B623E2
triadic
#5723E2 #E25723 #23E257
tetradic
#5723E2 #E2234E #AEE223 #23E2B6
square
#5723E2 #E2234E #AEE223 #23E2B6
split-complementary
#5723E2 #E2B623 #4EE223
monochromatic
#2D107A #4117B1 #5723E2 #8059E9 #AA8FF0

Accessibility & contrast

On white

7.65
#5723E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5723E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5723E2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5723E2#FFFFFF#000000##FFFFFF
##5723E21.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006187
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5723e2;
/* rgb */ color: rgb(87, 35, 226);
/* oklch */ color: oklch(47.4% 0.255 283.3);
Tailwind
colors: {
  custom: {
    50: '#9868ed',
    500: '#5723e2',
    950: '#000000',
  },
}
SCSS
$custom: #5723e2;
$custom-light: #9868ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5723e2",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 256.335,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.25502,
    "h": 283.3
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#5723E2
secondary
#C4DB86
accent
#F335BF
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5723E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5723E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva