#522DE3#522DE3

#522DE3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.250 H 280.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#522DE3
RGBrgb(82, 45, 227)
HSLhsl(252, 76%, 53%)
HSVhsv(252, 80%, 89%)
CMYKcmyk(63.9%, 80.2%, 0%, 11%)
CIE-LABlab(36.40, 62.76, -85.09)
CIE-LCHlch(36.40, 105.73, 306.41°)
OKLaboklab(48% 0.0464 -0.2456)
OKLCHoklch(48% 0.25 280.7)
XYZxyz(18.2788, 9.2152, 73.4736)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522DE3 #BEE32D
analogous
#2D63E3 #522DE3 #AD2DE3
triadic
#522DE3 #E3522D #2DE352
tetradic
#522DE3 #E32D63 #BEE32D #2DE3AD
square
#522DE3 #E32D63 #BEE32D #2DE3AD
split-complementary
#522DE3 #E3AD2D #63E32D
monochromatic
#291284 #3A19BA #522DE3 #7E63EA #AB99F1

Accessibility & contrast

On white

7.39
#522DE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#522DE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522DE3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522DE3#FFFFFF#000000##FFFFFF
##522DE31.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE8
Deuteranopia (green-blind)
#004FE0
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #522de3;
/* rgb */ color: rgb(82, 45, 227);
/* oklch */ color: oklch(48.0% 0.250 280.7);
Tailwind
colors: {
  custom: {
    50: '#956ded',
    500: '#522de3',
    950: '#000000',
  },
}
SCSS
$custom: #522de3;
$custom-light: #956ded;
$custom-dark: #000000;
JSON
{
  "hex": "#522de3",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 227
  },
  "hsl": {
    "h": 252.198,
    "s": 76.471,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.24992,
    "h": 280.7
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#522DE3
secondary
#CDDD8F
accent
#F335CC
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #522DE3

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

Preview Lab → · Contrast checker → · Palette generator →

#522DE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva