#7527B0#7527B0

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

Color values

HEX#7527B0
RGBrgb(117, 39, 176)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(33.5%, 77.8%, 0%, 31%)
CIE-LABlab(34.74, 56.79, -57.93)
CIE-LCHlch(34.74, 81.12, 314.43°)
OKLaboklab(46.31% 0.1175 -0.165)
OKLCHoklch(46.31% 0.203 305.5)
XYZxyz(15.8964, 8.3676, 41.8435)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527B0 #62B027
analogous
#3127B0 #7527B0 #B027A6
triadic
#7527B0 #B07527 #27B075
tetradic
#7527B0 #B03127 #62B027 #27A6B0
square
#7527B0 #B03127 #62B027 #27A6B0
split-complementary
#7527B0 #A6B027 #27B031
monochromatic
#32114C #541C7E #7527B0 #9440D5 #B072E0

Accessibility & contrast

On white

7.85
#7527B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7527B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527B0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527B0#FFFFFF#000000##FFFFFF
##7527B01.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#6A4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7527b0;
/* rgb */ color: rgb(117, 39, 176);
/* oklch */ color: oklch(46.3% 0.203 305.5);
Tailwind
colors: {
  custom: {
    50: '#a26ac9',
    500: '#7527b0',
    950: '#000000',
  },
}
SCSS
$custom: #7527b0;
$custom-light: #a26ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7527b0",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 274.161,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.2025,
    "h": 305.5
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#7527B0
secondary
#93C76C
accent
#E74188
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527B0

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

Preview Lab → · Contrast checker → · Palette generator →

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