#7528AF#7528AF

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

Color values

HEX#7528AF
RGBrgb(117, 40, 175)
HSLhsl(274, 63%, 42%)
HSVhsv(274, 77%, 69%)
CMYKcmyk(33.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(34.79, 56.17, -57.24)
CIE-LCHlch(34.79, 80.20, 314.46°)
OKLaboklab(46.33% 0.1168 -0.163)
OKLCHoklch(46.33% 0.201 305.6)
XYZxyz(15.8310, 8.3948, 41.3355)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7528AF #62AF28
analogous
#3128AF #7528AF #AF28A6
triadic
#7528AF #AF7528 #28AF75
tetradic
#7528AF #AF3128 #62AF28 #28A6AF
square
#7528AF #AF3128 #62AF28 #28A6AF
split-complementary
#7528AF #A6AF28 #28AF31
monochromatic
#32114B #541D7D #7528AF #9441D4 #B073DF

Accessibility & contrast

On white

7.84
#7528AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7528AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7528AF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7528AF#FFFFFF#000000##FFFFFF
##7528AF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6A4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7528af;
/* rgb */ color: rgb(117, 40, 175);
/* oklch */ color: oklch(46.3% 0.201 305.6);
Tailwind
colors: {
  custom: {
    50: '#a26bc8',
    500: '#7528af',
    950: '#000000',
  },
}
SCSS
$custom: #7528af;
$custom-light: #a26bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7528af",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 274.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.20051,
    "h": 305.6
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#7528AF
secondary
#93C66D
accent
#E64288
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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