#572DDC#572DDC

#572DDC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.242 H 283.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#572DDC
RGBrgb(87, 45, 220)
HSLhsl(254, 71%, 52%)
HSVhsv(254, 80%, 86%)
CMYKcmyk(60.5%, 79.5%, 0%, 13.7%)
CIE-LABlab(36.12, 61.33, -81.52)
CIE-LCHlch(36.12, 102.02, 306.95°)
OKLaboklab(47.71% 0.0558 -0.2351)
OKLCHoklch(47.71% 0.242 283.3)
XYZxyz(17.7831, 9.0691, 68.5097)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572DDC #B2DC2D
analogous
#2D5BDC #572DDC #AF2DDC
triadic
#572DDC #DC572D #2DDC57
tetradic
#572DDC #DC2D5B #B2DC2D #2DDCAF
square
#572DDC #DC2D5B #B2DC2D #2DDCAF
split-complementary
#572DDC #DCAF2D #5BDC2D
monochromatic
#2D147A #401DAF #572DDC #8161E5 #AB96ED

Accessibility & contrast

On white

7.46
#572DDC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572DDC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572DDC#FFFFFF#000000##FFFFFF
##572DDC1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE1
Deuteranopia (green-blind)
#004FD9
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #572ddc;
/* rgb */ color: rgb(87, 45, 220);
/* oklch */ color: oklch(47.7% 0.242 283.3);
Tailwind
colors: {
  custom: {
    50: '#966de8',
    500: '#572ddc',
    950: '#000000',
  },
}
SCSS
$custom: #572ddc;
$custom-light: #966de8;
$custom-dark: #000000;
JSON
{
  "hex": "#572ddc",
  "rgb": {
    "r": 87,
    "g": 45,
    "b": 220
  },
  "hsl": {
    "h": 254.4,
    "s": 71.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.2416,
    "h": 283.3
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#572DDC
secondary
#C6D98C
accent
#EE3AC3
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #572DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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