#572CD4#572CD4

#572CD4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.234 H 284.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#572CD4
RGBrgb(87, 44, 212)
HSLhsl(255, 66%, 50%)
HSVhsv(255, 79%, 83%)
CMYKcmyk(59%, 79.2%, 0%, 16.9%)
CIE-LABlab(35.16, 59.58, -78.49)
CIE-LCHlch(35.16, 98.54, 307.20°)
OKLaboklab(46.81% 0.0588 -0.2262)
OKLCHoklch(46.81% 0.234 284.6)
XYZxyz(16.7112, 8.5800, 63.0501)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572CD4 #A9D42C
analogous
#2C55D4 #572CD4 #AB2CD4
triadic
#572CD4 #D4572C #2CD457
tetradic
#572CD4 #D42C55 #A9D42C #2CD4AB
square
#572CD4 #D42C55 #A9D42C #2CD4AB
split-complementary
#572CD4 #D4AB2C #55D42C
monochromatic
#2D176F #4221A2 #572CD4 #7F5FDE #A892E9

Accessibility & contrast

On white

7.73
#572CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#572CD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572CD4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572CD4#FFFFFF#000000##FFFFFF
##572CD41.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004DD1
Tritanopia (blue-blind)
#005E81
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #572cd4;
/* rgb */ color: rgb(87, 44, 212);
/* oklch */ color: oklch(46.8% 0.234 284.6);
Tailwind
colors: {
  custom: {
    50: '#956ce3',
    500: '#572cd4',
    950: '#000000',
  },
}
SCSS
$custom: #572cd4;
$custom-light: #956ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#572cd4",
  "rgb": {
    "r": 87,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 255.357,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.23373,
    "h": 284.6
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#572CD4
secondary
#C0D388
accent
#E93FBD
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #572CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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