#582FE2#582FE2

#582FE2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.246 H 282.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#582FE2
RGBrgb(88, 47, 226)
HSLhsl(254, 76%, 54%)
HSVhsv(254, 79%, 89%)
CMYKcmyk(61.1%, 79.2%, 0%, 11.4%)
CIE-LABlab(37.11, 62.22, -83.32)
CIE-LCHlch(37.11, 103.98, 306.75°)
OKLaboklab(48.6% 0.0544 -0.2403)
OKLCHoklch(48.6% 0.246 282.7)
XYZxyz(18.7642, 9.5974, 72.8004)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FE2 #B9E22F
analogous
#2F5FE2 #582FE2 #B12FE2
triadic
#582FE2 #E2582F #2FE258
tetradic
#582FE2 #E22F5F #B9E22F #2FE2B1
square
#582FE2 #E22F5F #B9E22F #2FE2B1
split-complementary
#582FE2 #E2B12F #5FE22F
monochromatic
#2C1284 #3F1ABA #582FE2 #8365E9 #AE9AF1

Accessibility & contrast

On white

7.19
#582FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#582FE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FE2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FE2#FFFFFF#000000##FFFFFF
##582FE21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#0051DF
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #582fe2;
/* rgb */ color: rgb(88, 47, 226);
/* oklch */ color: oklch(48.6% 0.246 282.7);
Tailwind
colors: {
  custom: {
    50: '#986eed',
    500: '#582fe2',
    950: '#000000',
  },
}
SCSS
$custom: #582fe2;
$custom-light: #986eed;
$custom-dark: #000000;
JSON
{
  "hex": "#582fe2",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 253.743,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.24637,
    "h": 282.7
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#582FE2
secondary
#CBDD90
accent
#F236C7
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #582FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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