#7522C1#7522C1

#7522C1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.223 H 301.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7522C1
RGBrgb(117, 34, 193)
HSLhsl(271, 70%, 45%)
HSVhsv(271, 82%, 76%)
CMYKcmyk(39.4%, 82.4%, 0%, 24.3%)
CIE-LABlab(35.55, 62.42, -66.66)
CIE-LCHlch(35.55, 91.32, 313.12°)
OKLaboklab(47.32% 0.1164 -0.1905)
OKLCHoklch(47.32% 0.223 301.4)
XYZxyz(17.5314, 8.7761, 51.2121)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522C1 #6EC122
analogous
#2622C1 #7522C1 #C122BE
triadic
#7522C1 #C17522 #22C175
tetradic
#7522C1 #C12622 #6EC122 #22BEC1
square
#7522C1 #C12622 #6EC122 #22BEC1
split-complementary
#7522C1 #BEC122 #22C126
monochromatic
#361059 #55198D #7522C1 #9442DE #B176E7

Accessibility & contrast

On white

7.62
#7522C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7522C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522C1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522C1#FFFFFF#000000##FFFFFF
##7522C11.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#645074
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7522c1;
/* rgb */ color: rgb(117, 34, 193);
/* oklch */ color: oklch(47.3% 0.223 301.4);
Tailwind
colors: {
  custom: {
    50: '#a469d5',
    500: '#7522c1',
    950: '#000000',
  },
}
SCSS
$custom: #7522c1;
$custom-light: #a469d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7522c1",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 271.321,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.22329,
    "h": 301.4
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#7522C1
secondary
#9DCE71
accent
#ED3B90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7522C1

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

Preview Lab → · Contrast checker → · Palette generator →

#7522C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva