#522FE2#522FE2

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

Color values

HEX#522FE2
RGBrgb(82, 47, 226)
HSLhsl(252, 76%, 54%)
HSVhsv(252, 79%, 89%)
CMYKcmyk(63.7%, 79.2%, 0%, 11.4%)
CIE-LABlab(36.59, 61.63, -84.20)
CIE-LCHlch(36.59, 104.34, 306.20°)
OKLaboklab(48.11% 0.0457 -0.243)
OKLCHoklch(48.11% 0.247 280.7)
XYZxyz(18.2193, 9.3164, 72.7749)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FE2 #BFE22F
analogous
#2F65E2 #522FE2 #AB2FE2
triadic
#522FE2 #E2522F #2FE252
tetradic
#522FE2 #E22F65 #BFE22F #2FE2AB
square
#522FE2 #E22F65 #BFE22F #2FE2AB
split-complementary
#522FE2 #E2AB2F #65E22F
monochromatic
#291284 #391ABA #522FE2 #7F65E9 #AB9AF1

Accessibility & contrast

On white

7.33
#522FE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522FE2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FE2#FFFFFF#000000##FFFFFF
##522FE21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#006689
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #522fe2;
/* rgb */ color: rgb(82, 47, 226);
/* oklch */ color: oklch(48.1% 0.247 280.7);
Tailwind
colors: {
  custom: {
    50: '#956eed',
    500: '#522fe2',
    950: '#000000',
  },
}
SCSS
$custom: #522fe2;
$custom-light: #956eed;
$custom-dark: #000000;
JSON
{
  "hex": "#522fe2",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 251.732,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.24729,
    "h": 280.7
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#522FE2
secondary
#CEDD90
accent
#F236CD
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #522FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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