#7534BA#7534BA

#7534BA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.199 H 301.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7534BA
RGBrgb(117, 52, 186)
HSLhsl(269, 56%, 47%)
HSVhsv(269, 72%, 73%)
CMYKcmyk(37.1%, 72%, 0%, 27.1%)
CIE-LABlab(37.45, 53.65, -59.44)
CIE-LCHlch(37.45, 80.07, 312.07°)
OKLaboklab(48.47% 0.1034 -0.1695)
OKLCHoklch(48.47% 0.199 301.4)
XYZxyz(17.4249, 9.7830, 47.4151)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534BA #79BA34
analogous
#3436BA #7534BA #B834BA
triadic
#7534BA #BA7534 #34BA75
tetradic
#7534BA #BA3436 #79BA34 #34BAB8
square
#7534BA #BA3436 #79BA34 #34BAB8
split-complementary
#7534BA #BAB834 #36BA34
monochromatic
#39195A #57278A #7534BA #945AD1 #B38ADE

Accessibility & contrast

On white

7.10
#7534BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7534BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534BA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534BA#FFFFFF#000000##FFFFFF
##7534BA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#665574
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7534ba;
/* rgb */ color: rgb(117, 52, 186);
/* oklch */ color: oklch(48.5% 0.199 301.4);
Tailwind
colors: {
  custom: {
    50: '#a371d0',
    500: '#7534ba',
    950: '#000000',
  },
}
SCSS
$custom: #7534ba;
$custom-light: #a371d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7534ba",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 269.104,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.19853,
    "h": 301.4
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#7534BA
secondary
#A6C881
accent
#E04896
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7534BA

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

Preview Lab → · Contrast checker → · Palette generator →

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