#522FC7#522FC7

#522FC7 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.217 H 284.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#522FC7
RGBrgb(82, 47, 199)
HSLhsl(254, 62%, 48%)
HSVhsv(254, 76%, 78%)
CMYKcmyk(58.8%, 76.4%, 0%, 22%)
CIE-LABlab(33.88, 54.02, -73.07)
CIE-LCHlch(33.88, 90.87, 306.47°)
OKLaboklab(45.41% 0.0534 -0.2106)
OKLCHoklch(45.41% 0.217 284.2)
XYZxyz(14.8018, 7.9494, 54.7762)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FC7 #A4C72F
analogous
#2F58C7 #522FC7 #9E2FC7
triadic
#522FC7 #C7522F #2FC752
tetradic
#522FC7 #C72F58 #A4C72F #2FC79E
square
#522FC7 #C72F58 #A4C72F #2FC79E
split-complementary
#522FC7 #C79E2F #58C72F
monochromatic
#291864 #3E2395 #522FC7 #785BD8 #A18CE4

Accessibility & contrast

On white

8.11
#522FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#522FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FC7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FC7#FFFFFF#000000##FFFFFF
##522FC71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#055B7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #522fc7;
/* rgb */ color: rgb(82, 47, 199);
/* oklch */ color: oklch(45.4% 0.217 284.2);
Tailwind
colors: {
  custom: {
    50: '#906cd9',
    500: '#522fc7',
    950: '#000000',
  },
}
SCSS
$custom: #522fc7;
$custom-light: #906cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#522fc7",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 253.816,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.21723,
    "h": 284.2
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#522FC7
secondary
#BDCE84
accent
#E543C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #522FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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