#7521BD#7521BD

#7521BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.9% C 0.220 H 302.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7521BD
RGBrgb(117, 33, 189)
HSLhsl(272, 70%, 44%)
HSVhsv(272, 83%, 74%)
CMYKcmyk(38.1%, 82.5%, 0%, 25.9%)
CIE-LABlab(35.09, 61.84, -65.06)
CIE-LCHlch(35.09, 89.76, 313.55°)
OKLaboklab(46.89% 0.1184 -0.1858)
OKLCHoklch(46.89% 0.22 302.5)
XYZxyz(17.0631, 8.5437, 48.8844)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7521BD #69BD21
analogous
#2721BD #7521BD #BD21B7
triadic
#7521BD #BD7521 #21BD75
tetradic
#7521BD #BD2721 #69BD21 #21B7BD
square
#7521BD #BD2721 #69BD21 #21B7BD
split-complementary
#7521BD #B7BD21 #21BD27
monochromatic
#340F55 #551889 #7521BD #943EDD #B172E6

Accessibility & contrast

On white

7.75
#7521BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7521BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7521BD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7521BD#FFFFFF#000000##FFFFFF
##7521BD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7521bd;
/* rgb */ color: rgb(117, 33, 189);
/* oklch */ color: oklch(46.9% 0.220 302.5);
Tailwind
colors: {
  custom: {
    50: '#a468d2',
    500: '#7521bd',
    950: '#000000',
  },
}
SCSS
$custom: #7521bd;
$custom-light: #a468d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7521bd",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 272.308,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.22033,
    "h": 302.5
  },
  "luminance": 0.08544
}

Semantic roles & 50–950 ramp

primary
#7521BD
secondary
#99CD6D
accent
#ED3B8D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7521BD

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

Preview Lab → · Contrast checker → · Palette generator →

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