#7527C1#7527C1

#7527C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.219 H 301.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7527C1
RGBrgb(117, 39, 193)
HSLhsl(270, 66%, 45%)
HSVhsv(270, 80%, 76%)
CMYKcmyk(39.4%, 79.8%, 0%, 24.3%)
CIE-LABlab(36.14, 60.69, -65.69)
CIE-LCHlch(36.14, 89.43, 312.74°)
OKLaboklab(47.73% 0.1129 -0.1877)
OKLCHoklch(47.73% 0.219 301)
XYZxyz(17.6849, 9.0831, 51.2632)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527C1 #73C127
analogous
#2827C1 #7527C1 #C127C0
triadic
#7527C1 #C17527 #27C175
tetradic
#7527C1 #C12827 #73C127 #27C0C1
square
#7527C1 #C12827 #73C127 #27C0C1
split-complementary
#7527C1 #C0C127 #27C128
monochromatic
#37125B #561D8E #7527C1 #944BDB #B27EE5

Accessibility & contrast

On white

7.46
#7527C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7527C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527C1
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527C1#FFFFFF#000000##FFFFFF
##7527C11.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#645275
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7527c1;
/* rgb */ color: rgb(117, 39, 193);
/* oklch */ color: oklch(47.7% 0.219 301.0);
Tailwind
colors: {
  custom: {
    50: '#a46bd5',
    500: '#7527c1',
    950: '#000000',
  },
}
SCSS
$custom: #7527c1;
$custom-light: #a46bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7527c1",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 270.39,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.21907,
    "h": 301
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#7527C1
secondary
#A1CD77
accent
#E93E93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7527C1

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

Preview Lab → · Contrast checker → · Palette generator →

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