#7534B8#7534B8

#7534B8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.196 H 301.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7534B8
RGBrgb(117, 52, 184)
HSLhsl(270, 56%, 46%)
HSVhsv(270, 72%, 72%)
CMYKcmyk(36.4%, 71.7%, 0%, 27.8%)
CIE-LABlab(37.30, 53.17, -58.51)
CIE-LCHlch(37.30, 79.06, 312.26°)
OKLaboklab(48.31% 0.1038 -0.1667)
OKLCHoklch(48.31% 0.196 301.9)
XYZxyz(17.2138, 9.6985, 46.3032)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7534B8 #77B834
analogous
#3435B8 #7534B8 #B734B8
triadic
#7534B8 #B87534 #34B875
tetradic
#7534B8 #B83435 #77B834 #34B8B7
square
#7534B8 #B83435 #77B834 #34B8B7
split-complementary
#7534B8 #B8B734 #35B834
monochromatic
#381959 #572788 #7534B8 #9459D0 #B389DE

Accessibility & contrast

On white

7.14
#7534B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7534B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7534B8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7534B8#FFFFFF#000000##FFFFFF
##7534B81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#675473
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7534b8;
/* rgb */ color: rgb(117, 52, 184);
/* oklch */ color: oklch(48.3% 0.196 301.9);
Tailwind
colors: {
  custom: {
    50: '#a271ce',
    500: '#7534b8',
    950: '#000000',
  },
}
SCSS
$custom: #7534b8;
$custom-light: #a271ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7534b8",
  "rgb": {
    "r": 117,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 269.545,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.19641,
    "h": 301.9
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#7534B8
secondary
#A4C880
accent
#DF4995
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7534B8

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

Preview Lab → · Contrast checker → · Palette generator →

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