#7528B0#7528B0

#7528B0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 305.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7528B0
RGBrgb(117, 40, 176)
HSLhsl(274, 63%, 42%)
HSVhsv(274, 77%, 69%)
CMYKcmyk(33.5%, 77.3%, 0%, 31%)
CIE-LABlab(34.87, 56.40, -57.71)
CIE-LCHlch(34.87, 80.69, 314.34°)
OKLaboklab(46.41% 0.1166 -0.1643)
OKLCHoklch(46.41% 0.201 305.4)
XYZxyz(15.9296, 8.4342, 41.8546)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528B0 #63B028
analogous
#3128B0 #7528B0 #B028A7
triadic
#7528B0 #B07528 #28B075
tetradic
#7528B0 #B03128 #63B028 #28A7B0
square
#7528B0 #B03128 #63B028 #28A7B0
split-complementary
#7528B0 #A7B028 #28B031
monochromatic
#33114C #541D7E #7528B0 #9441D4 #B073DF

Accessibility & contrast

On white

7.82
#7528B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7528B0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528B0#FFFFFF#000000##FFFFFF
##7528B01.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#6A4B6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7528b0;
/* rgb */ color: rgb(117, 40, 176);
/* oklch */ color: oklch(46.4% 0.201 305.4);
Tailwind
colors: {
  custom: {
    50: '#a26bc9',
    500: '#7528b0',
    950: '#000000',
  },
}
SCSS
$custom: #7528b0;
$custom-light: #a26bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7528b0",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 273.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.20149,
    "h": 305.4
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#7528B0
secondary
#94C66D
accent
#E64289
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528B0

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

Preview Lab → · Contrast checker → · Palette generator →

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