#7527AF#7527AF

#7527AF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.202 H 305.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7527AF
RGBrgb(117, 39, 175)
HSLhsl(274, 64%, 42%)
HSVhsv(274, 78%, 69%)
CMYKcmyk(33.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(34.66, 56.56, -57.46)
CIE-LCHlch(34.66, 80.63, 314.55°)
OKLaboklab(46.23% 0.1177 -0.1636)
OKLCHoklch(46.23% 0.202 305.7)
XYZxyz(15.7978, 8.3282, 41.3244)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527AF #61AF27
analogous
#3127AF #7527AF #AF27A5
triadic
#7527AF #AF7527 #27AF75
tetradic
#7527AF #AF3127 #61AF27 #27A5AF
square
#7527AF #AF3127 #61AF27 #27A5AF
split-complementary
#7527AF #A5AF27 #27AF31
monochromatic
#32114B #541C7D #7527AF #953FD4 #B071DF

Accessibility & contrast

On white

7.88
#7527AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7527AF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527AF#FFFFFF#000000##FFFFFF
##7527AF1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6A4A6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7527af;
/* rgb */ color: rgb(117, 39, 175);
/* oklch */ color: oklch(46.2% 0.202 305.7);
Tailwind
colors: {
  custom: {
    50: '#a26ac8',
    500: '#7527af',
    950: '#000000',
  },
}
SCSS
$custom: #7527af;
$custom-light: #a26ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7527af",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 274.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.20152,
    "h": 305.7
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#7527AF
secondary
#92C66B
accent
#E74188
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527AF

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

Preview Lab → · Contrast checker → · Palette generator →

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