#5824FF#5824FF

#5824FF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.7% C 0.284 H 280.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5824FF
RGBrgb(88, 36, 255)
HSLhsl(254, 100%, 57%)
HSVhsv(254, 86%, 100%)
CMYKcmyk(65.5%, 85.9%, 0%, 0%)
CIE-LABlab(38.82, 73.92, -96.88)
CIE-LCHlch(38.82, 121.86, 307.34°)
OKLaboklab(50.67% 0.0493 -0.2796)
OKLCHoklch(50.67% 0.284 280)
XYZxyz(22.6996, 10.5546, 95.4294)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5824FF #CBFF24
analogous
#245DFF #5824FF #C624FF
triadic
#5824FF #FF5824 #24FF58
tetradic
#5824FF #FF245D #CBFF24 #24FFC6
square
#5824FF #FF245D #CBFF24 #24FFC6
split-complementary
#5824FF #FFC624 #5DFF24
monochromatic
#2800A9 #3700E6 #5824FF #8761FF #B59EFF

Accessibility & contrast

On white

6.75
#5824FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5824FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5824FF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5824FF#FFFFFF#000000##FFFFFF
##5824FF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.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: #5824ff;
/* rgb */ color: rgb(88, 36, 255);
/* oklch */ color: oklch(50.7% 0.284 280.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bff',
    500: '#5824ff',
    950: '#000000',
  },
}
SCSS
$custom: #5824ff;
$custom-light: #9d6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5824ff",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 255
  },
  "hsl": {
    "h": 254.247,
    "s": 100,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.28389,
    "h": 280
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5824FF

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

Preview Lab → · Contrast checker → · Palette generator →

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