#582EDB#582EDB

#582EDB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.240 H 283.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#582EDB
RGBrgb(88, 46, 219)
HSLhsl(255, 71%, 52%)
HSVhsv(255, 79%, 86%)
CMYKcmyk(59.8%, 79%, 0%, 14.1%)
CIE-LABlab(36.26, 60.73, -80.72)
CIE-LCHlch(36.26, 101.01, 306.96°)
OKLaboklab(47.8% 0.057 -0.2327)
OKLCHoklch(47.8% 0.24 283.8)
XYZxyz(17.7837, 9.1420, 67.8316)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EDB #B1DB2E
analogous
#2E5BDB #582EDB #AE2EDB
triadic
#582EDB #DB582E #2EDB58
tetradic
#582EDB #DB2E5B #B1DB2E #2EDBAE
square
#582EDB #DB2E5B #B1DB2E #2EDBAE
split-complementary
#582EDB #DBAE2E #5BDB2E
monochromatic
#2D157A #411EAE #582EDB #8262E4 #AB96ED

Accessibility & contrast

On white

7.42
#582EDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#582EDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EDB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EDB#FFFFFF#000000##FFFFFF
##582EDB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE0
Deuteranopia (green-blind)
#0050D8
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #582edb;
/* rgb */ color: rgb(88, 46, 219);
/* oklch */ color: oklch(47.8% 0.240 283.8);
Tailwind
colors: {
  custom: {
    50: '#966de8',
    500: '#582edb',
    950: '#000000',
  },
}
SCSS
$custom: #582edb;
$custom-light: #966de8;
$custom-dark: #000000;
JSON
{
  "hex": "#582edb",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 254.566,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.23958,
    "h": 283.8
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#582EDB
secondary
#C6D88D
accent
#ED3AC2
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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