#7528B6#7528B6

#7528B6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.207 H 303.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7528B6
RGBrgb(117, 40, 182)
HSLhsl(273, 64%, 44%)
HSVhsv(273, 78%, 71%)
CMYKcmyk(35.7%, 78%, 0%, 28.6%)
CIE-LABlab(35.35, 57.77, -60.49)
CIE-LCHlch(35.35, 83.65, 313.68°)
OKLaboklab(46.9% 0.1151 -0.1725)
OKLCHoklch(46.9% 0.207 303.7)
XYZxyz(16.5364, 8.6769, 45.0505)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B6 #69B628
analogous
#2E28B6 #7528B6 #B628B0
triadic
#7528B6 #B67528 #28B675
tetradic
#7528B6 #B62E28 #69B628 #28B0B6
square
#7528B6 #B62E28 #69B628 #28B0B6
split-complementary
#7528B6 #B0B628 #28B62E
monochromatic
#341252 #551D84 #7528B6 #9445D6 #B177E1

Accessibility & contrast

On white

7.68
#7528B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7528B6
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B6#FFFFFF#000000##FFFFFF
##7528B61.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#684D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7528b6;
/* rgb */ color: rgb(117, 40, 182);
/* oklch */ color: oklch(46.9% 0.207 303.7);
Tailwind
colors: {
  custom: {
    50: '#a36bcd',
    500: '#7528b6',
    950: '#000000',
  },
}
SCSS
$custom: #7528b6;
$custom-light: #a36bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b6",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 272.535,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46895,
    "c": 0.20737,
    "h": 303.7
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#7528B6
secondary
#99C971
accent
#E7418D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7528B6

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

Preview Lab → · Contrast checker → · Palette generator →

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