#7531AE#7531AE

#7531AE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.189 H 305.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7531AE
RGBrgb(117, 49, 174)
HSLhsl(273, 56%, 44%)
HSVhsv(273, 72%, 68%)
CMYKcmyk(32.8%, 71.8%, 0%, 31.8%)
CIE-LABlab(36.05, 52.14, -54.60)
CIE-LCHlch(36.05, 75.50, 313.68°)
OKLaboklab(47.19% 0.1086 -0.1552)
OKLCHoklch(47.19% 0.189 305)
XYZxyz(16.0727, 9.0346, 40.9333)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531AE #6AAE31
analogous
#3631AE #7531AE #AE31A8
triadic
#7531AE #AE7531 #31AE75
tetradic
#7531AE #AE3631 #6AAE31 #31A8AE
square
#7531AE #AE3631 #6AAE31 #31A8AE
split-complementary
#7531AE #A8AE31 #31AE36
monochromatic
#35164E #55247E #7531AE #944FCD #B17FDB

Accessibility & contrast

On white

7.48
#7531AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7531AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531AE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531AE#FFFFFF#000000##FFFFFF
##7531AE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#6A4E6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7531ae;
/* rgb */ color: rgb(117, 49, 174);
/* oklch */ color: oklch(47.2% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#a26fc7',
    500: '#7531ae',
    950: '#000000',
  },
}
SCSS
$custom: #7531ae;
$custom-light: #a26fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7531ae",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 272.64,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.18943,
    "h": 305
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#7531AE
secondary
#9AC477
accent
#DF488D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7531AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7531AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva