#7534A2#7534A2

#7534A2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 308.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7534A2
RGBrgb(117, 52, 162)
HSLhsl(275, 51%, 42%)
HSVhsv(275, 68%, 64%)
CMYKcmyk(27.8%, 67.9%, 0%, 36.5%)
CIE-LABlab(35.69, 47.92, -48.00)
CIE-LCHlch(35.69, 67.82, 314.95°)
OKLaboklab(46.66% 0.1069 -0.1359)
OKLCHoklch(46.66% 0.173 308.2)
XYZxyz(15.0844, 8.8468, 35.0884)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534A2 #61A234
analogous
#3E34A2 #7534A2 #A23498
triadic
#7534A2 #A27534 #34A275
tetradic
#7534A2 #A23E34 #61A234 #3498A2
square
#7534A2 #A23E34 #61A234 #3498A2
split-complementary
#7534A2 #98A234 #34A23E
monochromatic
#321645 #542574 #7534A2 #954DC6 #B07CD5

Accessibility & contrast

On white

7.58
#7534A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7534A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534A2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534A2#FFFFFF#000000##FFFFFF
##7534A21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#6E4C67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7534a2;
/* rgb */ color: rgb(117, 52, 162);
/* oklch */ color: oklch(46.7% 0.173 308.2);
Tailwind
colors: {
  custom: {
    50: '#a170be',
    500: '#7534a2',
    950: '#000000',
  },
}
SCSS
$custom: #7534a2;
$custom-light: #a170be;
$custom-dark: #000000;
JSON
{
  "hex": "#7534a2",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 275.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.17288,
    "h": 308.2
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#7534A2
secondary
#92BE74
accent
#DB4D87
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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