#7528B7#7528B7

#7528B7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 303.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7528B7
RGBrgb(117, 40, 183)
HSLhsl(272, 64%, 44%)
HSVhsv(272, 78%, 72%)
CMYKcmyk(36.1%, 78.1%, 0%, 28.2%)
CIE-LABlab(35.44, 58.00, -60.95)
CIE-LCHlch(35.44, 84.14, 313.58°)
OKLaboklab(46.98% 0.1149 -0.1738)
OKLCHoklch(46.98% 0.208 303.5)
XYZxyz(16.6401, 8.7184, 45.5967)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B7 #6AB728
analogous
#2D28B7 #7528B7 #B728B1
triadic
#7528B7 #B77528 #28B775
tetradic
#7528B7 #B72D28 #6AB728 #28B1B7
square
#7528B7 #B72D28 #6AB728 #28B1B7
split-complementary
#7528B7 #B1B728 #28B72D
monochromatic
#351253 #551D85 #7528B7 #9446D6 #B178E1

Accessibility & contrast

On white

7.65
#7528B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7528B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B7#FFFFFF#000000##FFFFFF
##7528B71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#684E6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7528b7;
/* rgb */ color: rgb(117, 40, 183);
/* oklch */ color: oklch(47.0% 0.208 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36bce',
    500: '#7528b7',
    950: '#000000',
  },
}
SCSS
$custom: #7528b7;
$custom-light: #a36bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b7",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 272.308,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.20836,
    "h": 303.5
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#7528B7
secondary
#9AC972
accent
#E7418D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7528B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7528B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva