#7527AE#7527AE

#7527AE is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.201 H 306.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7527AE
RGBrgb(117, 39, 174)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 78%, 68%)
CMYKcmyk(32.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(34.58, 56.33, -57.00)
CIE-LCHlch(34.58, 80.14, 314.66°)
OKLaboklab(46.15% 0.1179 -0.1622)
OKLCHoklch(46.15% 0.201 306)
XYZxyz(15.6999, 8.2891, 40.8091)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527AE #60AE27
analogous
#3227AE #7527AE #AE27A4
triadic
#7527AE #AE7527 #27AE75
tetradic
#7527AE #AE3227 #60AE27 #27A4AE
square
#7527AE #AE3227 #60AE27 #27A4AE
split-complementary
#7527AE #A4AE27 #27AE32
monochromatic
#32114A #531C7C #7527AE #953ED4 #B070DF

Accessibility & contrast

On white

7.90
#7527AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7527AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527AE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527AE#FFFFFF#000000##FFFFFF
##7527AE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#6B496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7527ae;
/* rgb */ color: rgb(117, 39, 174);
/* oklch */ color: oklch(46.2% 0.201 306.0);
Tailwind
colors: {
  custom: {
    50: '#a26ac7',
    500: '#7527ae',
    950: '#000000',
  },
}
SCSS
$custom: #7527ae;
$custom-light: #a26ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7527ae",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 274.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.20055,
    "h": 306
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#7527AE
secondary
#91C66B
accent
#E64187
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7527AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva