#7527A2#7527A2

#7527A2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 309.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7527A2
RGBrgb(117, 39, 162)
HSLhsl(278, 61%, 39%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(27.8%, 75.9%, 0%, 36.5%)
CIE-LABlab(33.65, 53.65, -51.29)
CIE-LCHlch(33.65, 74.23, 316.29°)
OKLaboklab(45.21% 0.1205 -0.1454)
OKLCHoklch(45.21% 0.189 309.6)
XYZxyz(14.5819, 7.8419, 34.9209)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A2 #54A227
analogous
#3827A2 #7527A2 #A22792
triadic
#7527A2 #A27527 #27A275
tetradic
#7527A2 #A23827 #54A227 #2792A2
square
#7527A2 #A23827 #54A227 #2792A2
split-complementary
#7527A2 #92A227 #27A238
monochromatic
#2E0F3F #511B71 #7527A2 #9737CF #B169DB

Accessibility & contrast

On white

8.18
#7527A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7527A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527A2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527A2#FFFFFF#000000##FFFFFF
##7527A21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#01509F
Tritanopia (blue-blind)
#6E4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7527a2;
/* rgb */ color: rgb(117, 39, 162);
/* oklch */ color: oklch(45.2% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#a16abe',
    500: '#7527a2',
    950: '#000000',
  },
}
SCSS
$custom: #7527a2;
$custom-light: #a16abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a2",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 278.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.18887,
    "h": 309.6
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#7527A2
secondary
#86C164
accent
#E4437E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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