#522EE3#522EE3

#522EE3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.249 H 280.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#522EE3
RGBrgb(82, 46, 227)
HSLhsl(252, 76%, 54%)
HSVhsv(252, 80%, 89%)
CMYKcmyk(63.9%, 79.7%, 0%, 11%)
CIE-LABlab(36.54, 62.34, -84.85)
CIE-LCHlch(36.54, 105.28, 306.31°)
OKLaboklab(48.1% 0.0459 -0.2449)
OKLCHoklch(48.1% 0.249 280.6)
XYZxyz(18.3174, 9.2924, 73.4865)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EE3 #BFE32E
analogous
#2E64E3 #522EE3 #AD2EE3
triadic
#522EE3 #E3522E #2EE352
tetradic
#522EE3 #E32E64 #BFE32E #2EE3AD
square
#522EE3 #E32E64 #BFE32E #2EE3AD
split-complementary
#522EE3 #E3AD2E #64E32E
monochromatic
#291285 #3919BB #522EE3 #7F64EA #AB9AF1

Accessibility & contrast

On white

7.35
#522EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#522EE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EE3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EE3#FFFFFF#000000##FFFFFF
##522EE31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522ee3;
/* rgb */ color: rgb(82, 46, 227);
/* oklch */ color: oklch(48.1% 0.249 280.6);
Tailwind
colors: {
  custom: {
    50: '#956ded',
    500: '#522ee3',
    950: '#000000',
  },
}
SCSS
$custom: #522ee3;
$custom-light: #956ded;
$custom-dark: #000000;
JSON
{
  "hex": "#522ee3",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 251.934,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48104,
    "c": 0.24916,
    "h": 280.6
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#522EE3
secondary
#CEDD90
accent
#F335CD
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #522EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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