#7534AF#7534AF

#7534AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.187 H 304.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7534AF
RGBrgb(117, 52, 175)
HSLhsl(272, 54%, 45%)
HSVhsv(272, 70%, 69%)
CMYKcmyk(33.1%, 70.3%, 0%, 31.4%)
CIE-LABlab(36.62, 50.99, -54.28)
CIE-LCHlch(36.62, 74.47, 313.21°)
OKLaboklab(47.62% 0.1053 -0.1543)
OKLCHoklch(47.62% 0.187 304.3)
XYZxyz(16.3002, 9.3331, 41.4919)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534AF #6EAF34
analogous
#3734AF #7534AF #AF34AC
triadic
#7534AF #AF7534 #34AF75
tetradic
#7534AF #AF3734 #6EAF34 #34ACAF
square
#7534AF #AF3734 #6EAF34 #34ACAF
split-complementary
#7534AF #ACAF34 #34AF37
monochromatic
#361851 #552680 #7534AF #9454CC #B183DA

Accessibility & contrast

On white

7.33
#7534AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7534AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534AF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534AF#FFFFFF#000000##FFFFFF
##7534AF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#6A516E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7534af;
/* rgb */ color: rgb(117, 52, 175);
/* oklch */ color: oklch(47.6% 0.187 304.3);
Tailwind
colors: {
  custom: {
    50: '#a271c8',
    500: '#7534af',
    950: '#000000',
  },
}
SCSS
$custom: #7534af;
$custom-light: #a271c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7534af",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 271.707,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.18679,
    "h": 304.3
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#7534AF
secondary
#9DC47B
accent
#DE4A90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7534AF

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

Preview Lab → · Contrast checker → · Palette generator →

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