#7520BC#7520BC

#7520BC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.7% C 0.220 H 302.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7520BC
RGBrgb(117, 32, 188)
HSLhsl(273, 71%, 43%)
HSVhsv(273, 83%, 74%)
CMYKcmyk(37.8%, 83%, 0%, 26.3%)
CIE-LABlab(34.89, 61.94, -64.79)
CIE-LCHlch(34.89, 89.63, 313.71°)
OKLaboklab(46.73% 0.1193 -0.185)
OKLCHoklch(46.73% 0.22 302.8)
XYZxyz(16.9276, 8.4457, 48.3056)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7520BC #67BC20
analogous
#2720BC #7520BC #BC20B5
triadic
#7520BC #BC7520 #20BC75
tetradic
#7520BC #BC2720 #67BC20 #20B5BC
square
#7520BC #BC2720 #67BC20 #20B5BC
split-complementary
#7520BC #B5BC20 #20BC27
monochromatic
#340E53 #541788 #7520BC #943BDE #B170E7

Accessibility & contrast

On white

7.81
#7520BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7520BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7520BC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7520BC#FFFFFF#000000##FFFFFF
##7520BC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#664D71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7520bc;
/* rgb */ color: rgb(117, 32, 188);
/* oklch */ color: oklch(46.7% 0.220 302.8);
Tailwind
colors: {
  custom: {
    50: '#a468d1',
    500: '#7520bc',
    950: '#000000',
  },
}
SCSS
$custom: #7520bc;
$custom-light: #a468d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7520bc",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 272.692,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.22019,
    "h": 302.8
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7520BC

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

Preview Lab → · Contrast checker → · Palette generator →

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