#7534C5#7534C5

#7534C5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.210 H 298.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7534C5
RGBrgb(117, 52, 197)
HSLhsl(267, 58%, 49%)
HSVhsv(267, 74%, 77%)
CMYKcmyk(40.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(38.32, 56.35, -64.47)
CIE-LCHlch(38.32, 85.63, 311.16°)
OKLaboklab(49.36% 0.1011 -0.1843)
OKLCHoklch(49.36% 0.21 298.8)
XYZxyz(18.6396, 10.2688, 53.8125)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534C5 #84C534
analogous
#343BC5 #7534C5 #BE34C5
triadic
#7534C5 #C57534 #34C575
tetradic
#7534C5 #C5343B #84C534 #34C5BE
square
#7534C5 #C5343B #84C534 #34C5BE
split-complementary
#7534C5 #C5BE34 #3BC534
monochromatic
#3B1A64 #582795 #7534C5 #9561D5 #B691E2

Accessibility & contrast

On white

6.88
#7534C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7534C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7534C5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534C5#FFFFFF#000000##FFFFFF
##7534C51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#62597A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7534c5;
/* rgb */ color: rgb(117, 52, 197);
/* oklch */ color: oklch(49.4% 0.210 298.8);
Tailwind
colors: {
  custom: {
    50: '#a472d8',
    500: '#7534c5',
    950: '#000000',
  },
}
SCSS
$custom: #7534c5;
$custom-light: #a472d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7534c5",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 266.897,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.21019,
    "h": 298.8
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#7534C5
secondary
#AECD88
accent
#E1469C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7534C5

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

Preview Lab → · Contrast checker → · Palette generator →

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