#7528B8#7528B8

#7528B8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.209 H 303.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7528B8
RGBrgb(117, 40, 184)
HSLhsl(272, 64%, 44%)
HSVhsv(272, 78%, 72%)
CMYKcmyk(36.4%, 78.3%, 0%, 27.8%)
CIE-LABlab(35.52, 58.23, -61.41)
CIE-LCHlch(35.52, 84.63, 313.48°)
OKLaboklab(47.06% 0.1146 -0.1752)
OKLCHoklch(47.06% 0.209 303.2)
XYZxyz(16.7446, 8.7602, 46.1468)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B8 #6BB828
analogous
#2D28B8 #7528B8 #B828B3
triadic
#7528B8 #B87528 #28B875
tetradic
#7528B8 #B82D28 #6BB828 #28B3B8
square
#7528B8 #B82D28 #6BB828 #28B3B8
split-complementary
#7528B8 #B3B828 #28B82D
monochromatic
#351253 #551D86 #7528B8 #9446D7 #B179E2

Accessibility & contrast

On white

7.63
#7528B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7528B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B8#FFFFFF#000000##FFFFFF
##7528B81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#674E70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7528b8;
/* rgb */ color: rgb(117, 40, 184);
/* oklch */ color: oklch(47.1% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#a36bce',
    500: '#7528b8',
    950: '#000000',
  },
}
SCSS
$custom: #7528b8;
$custom-light: #a36bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b8",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 272.083,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.20933,
    "h": 303.2
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#7528B8
secondary
#9BCA72
accent
#E7418E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7528B8

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

Preview Lab → · Contrast checker → · Palette generator →

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