#7527B8#7527B8

#7527B8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.210 H 303.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7527B8
RGBrgb(117, 39, 184)
HSLhsl(272, 65%, 44%)
HSVhsv(272, 79%, 72%)
CMYKcmyk(36.4%, 78.8%, 0%, 27.8%)
CIE-LABlab(35.39, 58.61, -61.62)
CIE-LCHlch(35.39, 85.04, 313.57°)
OKLaboklab(46.97% 0.1154 -0.1758)
OKLCHoklch(46.97% 0.21 303.3)
XYZxyz(16.7113, 8.6936, 46.1357)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527B8 #6AB827
analogous
#2D27B8 #7527B8 #B827B2
triadic
#7527B8 #B87527 #27B875
tetradic
#7527B8 #B82D27 #6AB827 #27B2B8
square
#7527B8 #B82D27 #6AB827 #27B2B8
split-complementary
#7527B8 #B2B827 #27B82D
monochromatic
#351253 #551C86 #7527B8 #9445D8 #B177E2

Accessibility & contrast

On white

7.67
#7527B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7527B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527B8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527B8#FFFFFF#000000##FFFFFF
##7527B81.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#674E70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7527b8;
/* rgb */ color: rgb(117, 39, 184);
/* oklch */ color: oklch(47.0% 0.210 303.3);
Tailwind
colors: {
  custom: {
    50: '#a36bce',
    500: '#7527b8',
    950: '#000000',
  },
}
SCSS
$custom: #7527b8;
$custom-light: #a36bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7527b8",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 272.276,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46969,
    "c": 0.21029,
    "h": 303.3
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#7527B8
secondary
#9ACA71
accent
#E8408E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7527B8

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

Preview Lab → · Contrast checker → · Palette generator →

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