#7517B3#7517B3

#7517B3 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.4% C 0.218 H 305.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7517B3
RGBrgb(117, 23, 179)
HSLhsl(276, 77%, 40%)
HSVhsv(276, 87%, 70%)
CMYKcmyk(34.6%, 87.2%, 0%, 29.8%)
CIE-LABlab(33.24, 62.54, -62.16)
CIE-LCHlch(33.24, 88.18, 315.18°)
OKLaboklab(45.35% 0.1277 -0.1773)
OKLCHoklch(45.35% 0.218 305.8)
XYZxyz(15.7774, 7.6495, 43.2844)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7517B3 #55B317
analogous
#2717B3 #7517B3 #B317A3
triadic
#7517B3 #B37517 #17B375
tetradic
#7517B3 #B32717 #55B317 #17A3B3
square
#7517B3 #B32717 #55B317 #17A3B3
split-complementary
#7517B3 #A3B317 #17B327
monochromatic
#2E0947 #52107D #7517B3 #9724E3 #B15BEA

Accessibility & contrast

On white

8.30
#7517B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7517B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7517B3
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7517B3#FFFFFF#000000##FFFFFF
##7517B31.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)
#004CB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#69466A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7517b3;
/* rgb */ color: rgb(117, 23, 179);
/* oklch */ color: oklch(45.4% 0.218 305.8);
Tailwind
colors: {
  custom: {
    50: '#a364cb',
    500: '#7517b3',
    950: '#000000',
  },
}
SCSS
$custom: #7517b3;
$custom-light: #a364cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7517b3",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 276.154,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.21849,
    "h": 305.8
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#7517B3
secondary
#87CD58
accent
#F43480
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7517B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7517B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva