#572EDA#572EDA

#572EDA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.239 H 283.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#572EDA
RGBrgb(87, 46, 218)
HSLhsl(254, 70%, 52%)
HSVhsv(254, 79%, 85%)
CMYKcmyk(60.1%, 78.9%, 0%, 14.5%)
CIE-LABlab(36.06, 60.35, -80.46)
CIE-LCHlch(36.06, 100.58, 306.87°)
OKLaboklab(47.61% 0.0558 -0.232)
OKLCHoklch(47.61% 0.239 283.5)
XYZxyz(17.5585, 9.0410, 67.1359)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EDA #B1DA2E
analogous
#2E5BDA #572EDA #AD2EDA
triadic
#572EDA #DA572E #2EDA57
tetradic
#572EDA #DA2E5B #B1DA2E #2EDAAD
square
#572EDA #DA2E5B #B1DA2E #2EDAAD
split-complementary
#572EDA #DAAD2E #5BDA2E
monochromatic
#2D1578 #401FAC #572EDA #8162E3 #AB96EC

Accessibility & contrast

On white

7.48
#572EDA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#572EDA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EDA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EDA#FFFFFF#000000##FFFFFF
##572EDA1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004FD7
Tritanopia (blue-blind)
#006284
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #572eda;
/* rgb */ color: rgb(87, 46, 218);
/* oklch */ color: oklch(47.6% 0.239 283.5);
Tailwind
colors: {
  custom: {
    50: '#966de7',
    500: '#572eda',
    950: '#000000',
  },
}
SCSS
$custom: #572eda;
$custom-light: #966de7;
$custom-dark: #000000;
JSON
{
  "hex": "#572eda",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 218
  },
  "hsl": {
    "h": 254.302,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47609,
    "c": 0.23862,
    "h": 283.5
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#572EDA
secondary
#C6D88C
accent
#ED3BC2
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #572EDA

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

Preview Lab → · Contrast checker → · Palette generator →

#572EDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva