#7528B2#7528B2

#7528B2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.203 H 304.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7528B2
RGBrgb(117, 40, 178)
HSLhsl(273, 63%, 43%)
HSVhsv(273, 78%, 70%)
CMYKcmyk(34.3%, 77.5%, 0%, 30.2%)
CIE-LABlab(35.03, 56.86, -58.64)
CIE-LCHlch(35.03, 81.68, 314.11°)
OKLaboklab(46.57% 0.1161 -0.167)
OKLCHoklch(46.57% 0.203 304.8)
XYZxyz(16.1290, 8.5139, 42.9045)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B2 #65B228
analogous
#3028B2 #7528B2 #B228AA
triadic
#7528B2 #B27528 #28B275
tetradic
#7528B2 #B23028 #65B228 #28AAB2
square
#7528B2 #B23028 #65B228 #28AAB2
split-complementary
#7528B2 #AAB228 #28B230
monochromatic
#33124E #541D80 #7528B2 #9443D5 #B075E0

Accessibility & contrast

On white

7.77
#7528B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7528B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B2#FFFFFF#000000##FFFFFF
##7528B21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#694C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7528b2;
/* rgb */ color: rgb(117, 40, 178);
/* oklch */ color: oklch(46.6% 0.203 304.8);
Tailwind
colors: {
  custom: {
    50: '#a26bca',
    500: '#7528b2',
    950: '#000000',
  },
}
SCSS
$custom: #7528b2;
$custom-light: #a26bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b2",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 273.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.20345,
    "h": 304.8
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#7528B2
secondary
#96C76F
accent
#E6418A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528B2

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

Preview Lab → · Contrast checker → · Palette generator →

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