#5724FF#5724FF

#5724FF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.6% C 0.284 H 279.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5724FF
RGBrgb(87, 36, 255)
HSLhsl(254, 100%, 57%)
HSVhsv(254, 86%, 100%)
CMYKcmyk(65.9%, 85.9%, 0%, 0%)
CIE-LABlab(38.74, 73.86, -97.02)
CIE-LCHlch(38.74, 121.94, 307.28°)
OKLaboklab(50.59% 0.0478 -0.28)
OKLCHoklch(50.59% 0.284 279.7)
XYZxyz(22.6056, 10.5061, 95.4250)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5724FF #CCFF24
analogous
#245EFF #5724FF #C524FF
triadic
#5724FF #FF5724 #24FF57
tetradic
#5724FF #FF245E #CCFF24 #24FFC5
square
#5724FF #FF245E #CCFF24 #24FFC5
split-complementary
#5724FF #FFC524 #5EFF24
monochromatic
#2700A9 #3600E6 #5724FF #8661FF #B59EFF

Accessibility & contrast

On white

6.77
#5724FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5724FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5724FF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5724FF#FFFFFF#000000##FFFFFF
##5724FF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FF
Deuteranopia (green-blind)
#0053FB
Tritanopia (blue-blind)
#006E99
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5724ff;
/* rgb */ color: rgb(87, 36, 255);
/* oklch */ color: oklch(50.6% 0.284 279.7);
Tailwind
colors: {
  custom: {
    50: '#9d6bff',
    500: '#5724ff',
    950: '#000000',
  },
}
SCSS
$custom: #5724ff;
$custom-light: #9d6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5724ff",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 253.973,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.28408,
    "h": 279.7
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#5724FF
secondary
#D7EC93
accent
#FF29CD
background
#FAF6FF
surface
#F4ECFF
border
#CEC7D7
text
#110718
muted
#807A86

Preview Lab

Preview with #5724FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5724FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva