#7527BD#7527BD

#7527BD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.215 H 302.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7527BD
RGBrgb(117, 39, 189)
HSLhsl(271, 66%, 45%)
HSVhsv(271, 79%, 74%)
CMYKcmyk(38.1%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.80, 59.76, -63.89)
CIE-LCHlch(35.80, 87.48, 313.09°)
OKLaboklab(47.39% 0.114 -0.1825)
OKLCHoklch(47.39% 0.215 302)
XYZxyz(17.2447, 8.9070, 48.9450)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527BD #6FBD27
analogous
#2A27BD #7527BD #BD27BA
triadic
#7527BD #BD7527 #27BD75
tetradic
#7527BD #BD2A27 #6FBD27 #27BABD
square
#7527BD #BD2A27 #6FBD27 #27BABD
split-complementary
#7527BD #BABD27 #27BD2A
monochromatic
#361258 #561D8A #7527BD #9448D9 #B17BE4

Accessibility & contrast

On white

7.55
#7527BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7527BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527BD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527BD#FFFFFF#000000##FFFFFF
##7527BD1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#655072
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7527bd;
/* rgb */ color: rgb(117, 39, 189);
/* oklch */ color: oklch(47.4% 0.215 302.0);
Tailwind
colors: {
  custom: {
    50: '#a46bd2',
    500: '#7527bd',
    950: '#000000',
  },
}
SCSS
$custom: #7527bd;
$custom-light: #a46bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7527bd",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 271.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.21517,
    "h": 302
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#7527BD
secondary
#9ECC74
accent
#E93F91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7527BD

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

Preview Lab → · Contrast checker → · Palette generator →

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