#7520B3#7520B3

#7520B3 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.212 H 305.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7520B3
RGBrgb(117, 32, 179)
HSLhsl(275, 70%, 41%)
HSVhsv(275, 82%, 70%)
CMYKcmyk(34.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(34.13, 59.94, -60.71)
CIE-LCHlch(34.13, 85.31, 314.63°)
OKLaboklab(45.96% 0.1221 -0.1731)
OKLCHoklch(45.96% 0.212 305.2)
XYZxyz(15.9875, 8.0697, 43.3544)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520B3 #5EB320
analogous
#2C20B3 #7520B3 #B320A8
triadic
#7520B3 #B37520 #20B375
tetradic
#7520B3 #B32C20 #5EB320 #20A8B3
square
#7520B3 #B32C20 #5EB320 #20A8B3
split-complementary
#7520B3 #A8B320 #20B32C
monochromatic
#310D4B #53177F #7520B3 #9535DB #B069E4

Accessibility & contrast

On white

8.03
#7520B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7520B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520B3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520B3#FFFFFF#000000##FFFFFF
##7520B31.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#69496B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7520b3;
/* rgb */ color: rgb(117, 32, 179);
/* oklch */ color: oklch(46.0% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#a367cb',
    500: '#7520b3',
    950: '#000000',
  },
}
SCSS
$custom: #7520b3;
$custom-light: #a367cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7520b3",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 274.694,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.21181,
    "h": 305.2
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#7520B3
secondary
#8FCA65
accent
#EC3B86
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7520B3

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

Preview Lab → · Contrast checker → · Palette generator →

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