#7520BD#7520BD

#7520BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.221 H 302.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7520BD
RGBrgb(117, 32, 189)
HSLhsl(272, 71%, 43%)
HSVhsv(272, 83%, 74%)
CMYKcmyk(38.1%, 83.1%, 0%, 25.9%)
CIE-LABlab(34.98, 62.16, -65.24)
CIE-LCHlch(34.98, 90.11, 313.62°)
OKLaboklab(46.82% 0.119 -0.1864)
OKLCHoklch(46.82% 0.221 302.6)
XYZxyz(17.0357, 8.4890, 48.8753)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520BD #68BD20
analogous
#2620BD #7520BD #BD20B6
triadic
#7520BD #BD7520 #20BD75
tetradic
#7520BD #BD2620 #68BD20 #20B6BD
square
#7520BD #BD2620 #68BD20 #20B6BD
split-complementary
#7520BD #B6BD20 #20BD26
monochromatic
#340E54 #551789 #7520BD #943CDE #B171E7

Accessibility & contrast

On white

7.78
#7520BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7520BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520BD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520BD#FFFFFF#000000##FFFFFF
##7520BD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#654D71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7520bd;
/* rgb */ color: rgb(117, 32, 189);
/* oklch */ color: oklch(46.8% 0.221 302.6);
Tailwind
colors: {
  custom: {
    50: '#a468d2',
    500: '#7520bd',
    950: '#000000',
  },
}
SCSS
$custom: #7520bd;
$custom-light: #a468d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7520bd",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 272.484,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.22112,
    "h": 302.6
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#7520BD
secondary
#98CD6B
accent
#EE3A8C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7520BD

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

Preview Lab → · Contrast checker → · Palette generator →

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