#7522B3#7522B3

#7522B3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.210 H 305.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7522B3
RGBrgb(117, 34, 179)
HSLhsl(274, 68%, 42%)
HSVhsv(274, 81%, 70%)
CMYKcmyk(34.6%, 81%, 0%, 29.8%)
CIE-LABlab(34.36, 59.27, -60.34)
CIE-LCHlch(34.36, 84.58, 314.49°)
OKLaboklab(46.12% 0.1206 -0.172)
OKLCHoklch(46.12% 0.21 305)
XYZxyz(16.0430, 8.1807, 43.3729)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522B3 #60B322
analogous
#2D22B3 #7522B3 #B322A9
triadic
#7522B3 #B37522 #22B375
tetradic
#7522B3 #B32D22 #60B322 #22A9B3
square
#7522B3 #B32D22 #60B322 #22A9B3
split-complementary
#7522B3 #A9B322 #22B32D
monochromatic
#320E4C #531880 #7522B3 #9539D9 #B06CE3

Accessibility & contrast

On white

7.97
#7522B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7522B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522B3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522B3#FFFFFF#000000##FFFFFF
##7522B31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#69496C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7522b3;
/* rgb */ color: rgb(117, 34, 179);
/* oklch */ color: oklch(46.1% 0.210 305.0);
Tailwind
colors: {
  custom: {
    50: '#a368cb',
    500: '#7522b3',
    950: '#000000',
  },
}
SCSS
$custom: #7522b3;
$custom-light: #a368cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7522b3",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 274.345,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.21008,
    "h": 305
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#7522B3
secondary
#91C968
accent
#EB3D87
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522B3

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

Preview Lab → · Contrast checker → · Palette generator →

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