#7527B7#7527B7

#7527B7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.209 H 303.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7527B7
RGBrgb(117, 39, 183)
HSLhsl(273, 65%, 44%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(36.1%, 78.7%, 0%, 28.2%)
CIE-LABlab(35.31, 58.38, -61.16)
CIE-LCHlch(35.31, 84.55, 313.67°)
OKLaboklab(46.89% 0.1157 -0.1744)
OKLCHoklch(46.89% 0.209 303.5)
XYZxyz(16.6069, 8.6519, 45.5856)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527B7 #69B727
analogous
#2D27B7 #7527B7 #B727B1
triadic
#7527B7 #B77527 #27B775
tetradic
#7527B7 #B72D27 #69B727 #27B1B7
square
#7527B7 #B72D27 #69B727 #27B1B7
split-complementary
#7527B7 #B1B727 #27B72D
monochromatic
#341152 #551C85 #7527B7 #9444D7 #B176E2

Accessibility & contrast

On white

7.69
#7527B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7527B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527B7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527B7#FFFFFF#000000##FFFFFF
##7527B71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#684D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7527b7;
/* rgb */ color: rgb(117, 39, 183);
/* oklch */ color: oklch(46.9% 0.209 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36bce',
    500: '#7527b7',
    950: '#000000',
  },
}
SCSS
$custom: #7527b7;
$custom-light: #a36bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7527b7",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 272.5,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46886,
    "c": 0.20932,
    "h": 303.5
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#7527B7
secondary
#99C970
accent
#E8408D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7527B7

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

Preview Lab → · Contrast checker → · Palette generator →

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