#7522B0#7522B0

#7522B0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.207 H 305.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7522B0
RGBrgb(117, 34, 176)
HSLhsl(275, 68%, 41%)
HSVhsv(275, 81%, 69%)
CMYKcmyk(33.5%, 80.7%, 0%, 31%)
CIE-LABlab(34.11, 58.60, -58.95)
CIE-LCHlch(34.11, 83.13, 314.83°)
OKLaboklab(45.87% 0.1215 -0.1679)
OKLCHoklch(45.87% 0.207 305.9)
XYZxyz(15.7429, 8.0607, 41.7924)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7522B0 #5DB022
analogous
#2E22B0 #7522B0 #B022A4
triadic
#7522B0 #B07522 #22B075
tetradic
#7522B0 #B02E22 #5DB022 #22A4B0
square
#7522B0 #B02E22 #5DB022 #22A4B0
split-complementary
#7522B0 #A4B022 #22B02E
monochromatic
#310E49 #53187D #7522B0 #9537D8 #B06AE2

Accessibility & contrast

On white

8.04
#7522B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7522B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7522B0
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7522B0#FFFFFF#000000##FFFFFF
##7522B01.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#6A486A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7522b0;
/* rgb */ color: rgb(117, 34, 176);
/* oklch */ color: oklch(45.9% 0.207 305.9);
Tailwind
colors: {
  custom: {
    50: '#a368c9',
    500: '#7522b0',
    950: '#000000',
  },
}
SCSS
$custom: #7522b0;
$custom-light: #a368c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7522b0",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 275.07,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.20726,
    "h": 305.9
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#7522B0
secondary
#8FC866
accent
#EA3D85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7522B0

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

Preview Lab → · Contrast checker → · Palette generator →

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