#582EC8#582EC8

#582EC8 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.219 H 286.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#582EC8
RGBrgb(88, 46, 200)
HSLhsl(256, 63%, 48%)
HSVhsv(256, 77%, 78%)
CMYKcmyk(56%, 77%, 0%, 21.6%)
CIE-LABlab(34.39, 55.52, -72.79)
CIE-LCHlch(34.39, 91.54, 307.33°)
OKLaboklab(45.94% 0.0626 -0.2095)
OKLCHoklch(45.94% 0.219 286.6)
XYZxyz(15.4237, 8.1980, 55.4020)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EC8 #9EC82E
analogous
#2E51C8 #582EC8 #A52EC8
triadic
#582EC8 #C8582E #2EC858
tetradic
#582EC8 #C82E51 #9EC82E #2EC8A5
square
#582EC8 #C82E51 #9EC82E #2EC8A5
split-complementary
#582EC8 #C8A52E #51C82E
monochromatic
#2C1764 #422396 #582EC8 #7D5AD9 #A48CE5

Accessibility & contrast

On white

7.96
#582EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#582EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EC8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EC8#FFFFFF#000000##FFFFFF
##582EC81.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#235A7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #582ec8;
/* rgb */ color: rgb(88, 46, 200);
/* oklch */ color: oklch(45.9% 0.219 286.6);
Tailwind
colors: {
  custom: {
    50: '#936cda',
    500: '#582ec8',
    950: '#000000',
  },
}
SCSS
$custom: #582ec8;
$custom-light: #936cda;
$custom-dark: #000000;
JSON
{
  "hex": "#582ec8",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 256.364,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.2187,
    "h": 286.6
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#582EC8
secondary
#BACF83
accent
#E642B9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #582EC8

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

Preview Lab → · Contrast checker → · Palette generator →

#582EC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva