#7528C9#7528C9

#7528C9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.226 H 299.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7528C9
RGBrgb(117, 40, 201)
HSLhsl(269, 67%, 47%)
HSVhsv(269, 80%, 79%)
CMYKcmyk(41.8%, 80.1%, 0%, 21.2%)
CIE-LABlab(36.96, 62.19, -69.03)
CIE-LCHlch(36.96, 92.91, 312.02°)
OKLaboklab(48.51% 0.1098 -0.1975)
OKLCHoklch(48.51% 0.226 299.1)
XYZxyz(18.6348, 9.5163, 56.1021)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528C9 #7CC928
analogous
#282BC9 #7528C9 #C628C9
triadic
#7528C9 #C97528 #28C975
tetradic
#7528C9 #C9282B #7CC928 #28C9C6
square
#7528C9 #C9282B #7CC928 #28C9C6
split-complementary
#7528C9 #C9C628 #2BC928
monochromatic
#3A1463 #571E96 #7528C9 #9452DD #B485E7

Accessibility & contrast

On white

7.23
#7528C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7528C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528C9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528C9#FFFFFF#000000##FFFFFF
##7528C91.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#60567A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7528c9;
/* rgb */ color: rgb(117, 40, 201);
/* oklch */ color: oklch(48.5% 0.226 299.1);
Tailwind
colors: {
  custom: {
    50: '#a56cdb',
    500: '#7528c9',
    950: '#000000',
  },
}
SCSS
$custom: #7528c9;
$custom-light: #a56cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7528c9",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 268.696,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.226,
    "h": 299.1
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#7528C9
secondary
#A8D07D
accent
#EA3E98
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7528C9

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

Preview Lab → · Contrast checker → · Palette generator →

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