#7536B2#7536B2

#7536B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.188 H 303.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7536B2
RGBrgb(117, 54, 178)
HSLhsl(270, 53%, 45%)
HSVhsv(270, 70%, 70%)
CMYKcmyk(34.3%, 69.7%, 0%, 30.2%)
CIE-LABlab(37.18, 50.77, -55.15)
CIE-LCHlch(37.18, 74.96, 312.63°)
OKLaboklab(48.09% 0.1027 -0.1569)
OKLCHoklch(48.09% 0.188 303.2)
XYZxyz(16.6893, 9.6346, 43.0913)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7536B2 #73B236
analogous
#3736B2 #7536B2 #B236B1
triadic
#7536B2 #B27536 #36B275
tetradic
#7536B2 #B23736 #73B236 #36B1B2
square
#7536B2 #B23736 #73B236 #36B1B2
split-complementary
#7536B2 #B1B236 #36B237
monochromatic
#371A54 #562883 #7536B2 #9459CD #B288DB

Accessibility & contrast

On white

7.17
#7536B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7536B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7536B2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7536B2#FFFFFF#000000##FFFFFF
##7536B21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#695370
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7536b2;
/* rgb */ color: rgb(117, 54, 178);
/* oklch */ color: oklch(48.1% 0.188 303.2);
Tailwind
colors: {
  custom: {
    50: '#a272ca',
    500: '#7536b2',
    950: '#000000',
  },
}
SCSS
$custom: #7536b2;
$custom-light: #a272ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7536b2",
  "rgb": {
    "r": 117,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 270.484,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.18752,
    "h": 303.2
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#7536B2
secondary
#A1C57F
accent
#DD4B93
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7536B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7536B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva