#522EE6#522EE6

#522EE6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.252 H 280.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#522EE6
RGBrgb(82, 46, 230)
HSLhsl(252, 79%, 54%)
HSVhsv(252, 80%, 90%)
CMYKcmyk(64.3%, 80%, 0%, 9.8%)
CIE-LABlab(36.85, 63.17, -86.04)
CIE-LCHlch(36.85, 106.74, 306.29°)
OKLaboklab(48.41% 0.045 -0.2484)
OKLCHoklch(48.41% 0.252 280.3)
XYZxyz(18.7351, 9.4595, 75.6861)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522EE6 #C2E62E
analogous
#2E66E6 #522EE6 #AE2EE6
triadic
#522EE6 #E6522E #2EE652
tetradic
#522EE6 #E62E66 #C2E62E #2EE6AE
square
#522EE6 #E62E66 #C2E62E #2EE6AE
split-complementary
#522EE6 #E6AE2E #66E62E
monochromatic
#281089 #3817C0 #522EE6 #7F65ED #AC9BF3

Accessibility & contrast

On white

7.26
#522EE6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#522EE6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522EE6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522EE6#FFFFFF#000000##FFFFFF
##522EE61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DEB
Deuteranopia (green-blind)
#0050E3
Tritanopia (blue-blind)
#00678B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #522ee6;
/* rgb */ color: rgb(82, 46, 230);
/* oklch */ color: oklch(48.4% 0.252 280.3);
Tailwind
colors: {
  custom: {
    50: '#966def',
    500: '#522ee6',
    950: '#000000',
  },
}
SCSS
$custom: #522ee6;
$custom-light: #966def;
$custom-dark: #000000;
JSON
{
  "hex": "#522ee6",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 230
  },
  "hsl": {
    "h": 251.739,
    "s": 78.632,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.25241,
    "h": 280.3
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#522EE6
secondary
#D0DF91
accent
#F533CF
background
#FAF6FE
surface
#F4ECFD
border
#CEC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #522EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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