#7527B1#7527B1

#7527B1 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.203 H 305.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7527B1
RGBrgb(117, 39, 177)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(33.9%, 78%, 0%, 30.6%)
CIE-LABlab(34.82, 57.01, -58.39)
CIE-LCHlch(34.82, 81.61, 314.31°)
OKLaboklab(46.39% 0.1172 -0.1663)
OKLCHoklch(46.39% 0.203 305.2)
XYZxyz(15.9957, 8.4074, 42.3666)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527B1 #63B127
analogous
#3027B1 #7527B1 #B127A8
triadic
#7527B1 #B17527 #27B175
tetradic
#7527B1 #B13027 #63B127 #27A8B1
square
#7527B1 #B13027 #63B127 #27A8B1
split-complementary
#7527B1 #A8B127 #27B130
monochromatic
#33114D #541C7F #7527B1 #9440D5 #B072E0

Accessibility & contrast

On white

7.83
#7527B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7527B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527B1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527B1#FFFFFF#000000##FFFFFF
##7527B11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6A4B6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7527b1;
/* rgb */ color: rgb(117, 39, 177);
/* oklch */ color: oklch(46.4% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#a26ac9',
    500: '#7527b1',
    950: '#000000',
  },
}
SCSS
$custom: #7527b1;
$custom-light: #a26ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7527b1",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 273.913,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.20348,
    "h": 305.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#7527B1
secondary
#94C76D
accent
#E74189
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527B1

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

Preview Lab → · Contrast checker → · Palette generator →

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