#7515B4#7515B4

#7515B4 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.3% C 0.221 H 305.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7515B4
RGBrgb(117, 21, 180)
HSLhsl(276, 79%, 39%)
HSVhsv(276, 88%, 71%)
CMYKcmyk(35%, 88.3%, 0%, 29.4%)
CIE-LABlab(33.16, 63.24, -62.88)
CIE-LCHlch(33.16, 89.18, 315.16°)
OKLaboklab(45.32% 0.1284 -0.1794)
OKLCHoklch(45.32% 0.221 305.6)
XYZxyz(15.8406, 7.6136, 43.8062)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7515B4 #54B415
analogous
#2515B4 #7515B4 #B415A4
triadic
#7515B4 #B47515 #15B475
tetradic
#7515B4 #B42515 #54B415 #15A4B4
square
#7515B4 #B42515 #54B415 #15A4B4
split-complementary
#7515B4 #A4B415 #15B425
monochromatic
#2E0846 #510F7D #7515B4 #9721E5 #B158EC

Accessibility & contrast

On white

8.32
#7515B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7515B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7515B4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7515B4#FFFFFF#000000##FFFFFF
##7515B41.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.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: #7515b4;
/* rgb */ color: rgb(117, 21, 180);
/* oklch */ color: oklch(45.3% 0.221 305.6);
Tailwind
colors: {
  custom: {
    50: '#a364cc',
    500: '#7515b4',
    950: '#000000',
  },
}
SCSS
$custom: #7515b4;
$custom-light: #a364cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7515b4",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 276.226,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.22061,
    "h": 305.6
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#7515B4
secondary
#86CF56
accent
#F63280
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7515B4

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

Preview Lab → · Contrast checker → · Palette generator →

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