#7516B4#7516B4

#7516B4 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.4% C 0.220 H 305.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7516B4
RGBrgb(117, 22, 180)
HSLhsl(276, 78%, 40%)
HSVhsv(276, 88%, 71%)
CMYKcmyk(35%, 87.8%, 0%, 29.4%)
CIE-LABlab(33.25, 63.00, -62.75)
CIE-LCHlch(33.25, 88.92, 315.12°)
OKLaboklab(45.38% 0.1279 -0.179)
OKLCHoklch(45.38% 0.22 305.6)
XYZxyz(15.8594, 7.6511, 43.8125)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7516B4 #55B416
analogous
#2616B4 #7516B4 #B416A4
triadic
#7516B4 #B47516 #16B475
tetradic
#7516B4 #B42616 #55B416 #16A4B4
square
#7516B4 #B42616 #55B416 #16A4B4
split-complementary
#7516B4 #A4B416 #16B426
monochromatic
#2E0947 #520F7D #7516B4 #9723E4 #B15AEB

Accessibility & contrast

On white

8.30
#7516B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7516B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7516B4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7516B4#FFFFFF#000000##FFFFFF
##7516B41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#69466A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7516b4;
/* rgb */ color: rgb(117, 22, 180);
/* oklch */ color: oklch(45.4% 0.220 305.6);
Tailwind
colors: {
  custom: {
    50: '#a364cc',
    500: '#7516b4',
    950: '#000000',
  },
}
SCSS
$custom: #7516b4;
$custom-light: #a364cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7516b4",
  "rgb": {
    "r": 117,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 276.076,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.22,
    "h": 305.6
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#7516B4
secondary
#87CE58
accent
#F53380
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7516B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7516B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva