#7528B1#7528B1

#7528B1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.202 H 305.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7528B1
RGBrgb(117, 40, 177)
HSLhsl(274, 63%, 43%)
HSVhsv(274, 77%, 69%)
CMYKcmyk(33.9%, 77.4%, 0%, 30.6%)
CIE-LABlab(34.95, 56.63, -58.18)
CIE-LCHlch(34.95, 81.19, 314.23°)
OKLaboklab(46.49% 0.1164 -0.1657)
OKLCHoklch(46.49% 0.202 305.1)
XYZxyz(16.0289, 8.4739, 42.3776)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B1 #64B128
analogous
#3128B1 #7528B1 #B128A8
triadic
#7528B1 #B17528 #28B175
tetradic
#7528B1 #B13128 #64B128 #28A8B1
square
#7528B1 #B13128 #64B128 #28A8B1
split-complementary
#7528B1 #A8B128 #28B131
monochromatic
#33114D #541D7F #7528B1 #9442D4 #B074E0

Accessibility & contrast

On white

7.79
#7528B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7528B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528B1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B1#FFFFFF#000000##FFFFFF
##7528B11.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6A4B6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7528b1;
/* rgb */ color: rgb(117, 40, 177);
/* oklch */ color: oklch(46.5% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#a26bc9',
    500: '#7528b1',
    950: '#000000',
  },
}
SCSS
$custom: #7528b1;
$custom-light: #a26bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b1",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 273.723,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.20247,
    "h": 305.1
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#7528B1
secondary
#95C76E
accent
#E6428A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528B1

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

Preview Lab → · Contrast checker → · Palette generator →

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