#7527C4#7527C4

#7527C4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.222 H 300.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7527C4
RGBrgb(117, 39, 196)
HSLhsl(270, 67%, 46%)
HSVhsv(270, 80%, 77%)
CMYKcmyk(40.3%, 80.1%, 0%, 23.1%)
CIE-LABlab(36.40, 61.39, -67.02)
CIE-LCHlch(36.40, 90.89, 312.49°)
OKLaboklab(47.99% 0.112 -0.1917)
OKLCHoklch(47.99% 0.222 300.3)
XYZxyz(18.0229, 9.2183, 53.0436)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527C4 #76C427
analogous
#2727C4 #7527C4 #C327C4
triadic
#7527C4 #C47527 #27C475
tetradic
#7527C4 #C42727 #76C427 #27C4C3
square
#7527C4 #C42727 #76C427 #27C4C3
split-complementary
#7527C4 #C4C327 #27C427
monochromatic
#38135E #571D91 #7527C4 #944DDC #B280E6

Accessibility & contrast

On white

7.39
#7527C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7527C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527C4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527C4#FFFFFF#000000##FFFFFF
##7527C41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#625376
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7527c4;
/* rgb */ color: rgb(117, 39, 196);
/* oklch */ color: oklch(48.0% 0.222 300.3);
Tailwind
colors: {
  custom: {
    50: '#a46bd7',
    500: '#7527c4',
    950: '#000000',
  },
}
SCSS
$custom: #7527c4;
$custom-light: #a46bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7527c4",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 269.809,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.22199,
    "h": 300.3
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#7527C4
secondary
#A4CE79
accent
#EA3E94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7527C4

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

Preview Lab → · Contrast checker → · Palette generator →

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