#7528C4#7528C4

#7528C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.221 H 300.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7528C4
RGBrgb(117, 40, 196)
HSLhsl(270, 66%, 46%)
HSVhsv(270, 80%, 77%)
CMYKcmyk(40.3%, 79.6%, 0%, 23.1%)
CIE-LABlab(36.53, 61.02, -66.82)
CIE-LCHlch(36.53, 90.49, 312.40°)
OKLaboklab(48.08% 0.1113 -0.1911)
OKLCHoklch(48.08% 0.221 300.2)
XYZxyz(18.0562, 9.2848, 53.0547)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528C4 #77C428
analogous
#2829C4 #7528C4 #C328C4
triadic
#7528C4 #C47528 #28C475
tetradic
#7528C4 #C42829 #77C428 #28C4C3
square
#7528C4 #C42829 #77C428 #28C4C3
split-complementary
#7528C4 #C4C328 #29C428
monochromatic
#38135E #571E91 #7528C4 #944EDB #B381E5

Accessibility & contrast

On white

7.35
#7528C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7528C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528C4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528C4#FFFFFF#000000##FFFFFF
##7528C41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#625377
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7528c4;
/* rgb */ color: rgb(117, 40, 196);
/* oklch */ color: oklch(48.1% 0.221 300.2);
Tailwind
colors: {
  custom: {
    50: '#a46cd7',
    500: '#7528c4',
    950: '#000000',
  },
}
SCSS
$custom: #7528c4;
$custom-light: #a46cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7528c4",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 196
  },
  "hsl": {
    "h": 269.615,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.2211,
    "h": 300.2
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#7528C4
secondary
#A4CE7A
accent
#E93F95
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7528C4

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

Preview Lab → · Contrast checker → · Palette generator →

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