#7534B7#7534B7

#7534B7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.195 H 302.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7534B7
RGBrgb(117, 52, 183)
HSLhsl(270, 56%, 46%)
HSVhsv(270, 72%, 72%)
CMYKcmyk(36.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(37.22, 52.92, -58.04)
CIE-LCHlch(37.22, 78.55, 312.36°)
OKLaboklab(48.23% 0.104 -0.1654)
OKLCHoklch(48.23% 0.195 302.2)
XYZxyz(17.1093, 9.6567, 45.7531)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534B7 #76B734
analogous
#3434B7 #7534B7 #B634B7
triadic
#7534B7 #B77534 #34B775
tetradic
#7534B7 #B73434 #76B734 #34B7B6
square
#7534B7 #B73434 #76B734 #34B7B6
split-complementary
#7534B7 #B7B634 #34B734
monochromatic
#381958 #572687 #7534B7 #9459D0 #B288DD

Accessibility & contrast

On white

7.16
#7534B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7534B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534B7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534B7#FFFFFF#000000##FFFFFF
##7534B71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#675472
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7534b7;
/* rgb */ color: rgb(117, 52, 183);
/* oklch */ color: oklch(48.2% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#a271cd',
    500: '#7534b7',
    950: '#000000',
  },
}
SCSS
$custom: #7534b7;
$custom-light: #a271cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7534b7",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 269.771,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.19534,
    "h": 302.2
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#7534B7
secondary
#A4C780
accent
#DF4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7534B7

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

Preview Lab → · Contrast checker → · Palette generator →

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