#7534BD#7534BD

#7534BD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.202 H 300.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7534BD
RGBrgb(117, 52, 189)
HSLhsl(268, 57%, 47%)
HSVhsv(268, 72%, 74%)
CMYKcmyk(38.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(37.68, 54.39, -60.82)
CIE-LCHlch(37.68, 81.59, 311.80°)
OKLaboklab(48.71% 0.1028 -0.1735)
OKLCHoklch(48.71% 0.202 300.6)
XYZxyz(17.7472, 9.9119, 49.1124)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534BD #7CBD34
analogous
#3438BD #7534BD #B934BD
triadic
#7534BD #BD7534 #34BD75
tetradic
#7534BD #BD3438 #7CBD34 #34BDB9
square
#7534BD #BD3438 #7CBD34 #34BDB9
split-complementary
#7534BD #BDB934 #38BD34
monochromatic
#3A1A5D #57278D #7534BD #945CD2 #B48CDF

Accessibility & contrast

On white

7.04
#7534BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7534BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534BD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534BD#FFFFFF#000000##FFFFFF
##7534BD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#655675
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7534bd;
/* rgb */ color: rgb(117, 52, 189);
/* oklch */ color: oklch(48.7% 0.202 300.6);
Tailwind
colors: {
  custom: {
    50: '#a371d2',
    500: '#7534bd',
    950: '#000000',
  },
}
SCSS
$custom: #7534bd;
$custom-light: #a371d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7534bd",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 268.467,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.20171,
    "h": 300.6
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#7534BD
secondary
#A8CA83
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7534BD

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

Preview Lab → · Contrast checker → · Palette generator →

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