#7528B3#7528B3

#7528B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.204 H 304.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7528B3
RGBrgb(117, 40, 179)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(34.6%, 77.7%, 0%, 29.8%)
CIE-LABlab(35.11, 57.08, -59.10)
CIE-LCHlch(35.11, 82.17, 314.00°)
OKLaboklab(46.65% 0.1159 -0.1684)
OKLCHoklch(46.65% 0.204 304.5)
XYZxyz(16.2297, 8.5542, 43.4352)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B3 #66B328
analogous
#2F28B3 #7528B3 #B328AB
triadic
#7528B3 #B37528 #28B375
tetradic
#7528B3 #B32F28 #66B328 #28ABB3
square
#7528B3 #B32F28 #66B328 #28ABB3
split-complementary
#7528B3 #ABB328 #28B32F
monochromatic
#34124F #541D81 #7528B3 #9443D5 #B075E0

Accessibility & contrast

On white

7.75
#7528B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7528B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B3#FFFFFF#000000##FFFFFF
##7528B31.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)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#694C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7528b3;
/* rgb */ color: rgb(117, 40, 179);
/* oklch */ color: oklch(46.6% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#a36bcb',
    500: '#7528b3',
    950: '#000000',
  },
}
SCSS
$custom: #7528b3;
$custom-light: #a36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b3",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 273.237,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.20443,
    "h": 304.5
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#7528B3
secondary
#97C86F
accent
#E6418B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528B3

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

Preview Lab → · Contrast checker → · Palette generator →

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