#7518B4#7518B4

#7518B4 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.5% C 0.219 H 305.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7518B4
RGBrgb(117, 24, 180)
HSLhsl(276, 76%, 40%)
HSVhsv(276, 87%, 71%)
CMYKcmyk(35%, 86.7%, 0%, 29.4%)
CIE-LABlab(33.42, 62.50, -62.47)
CIE-LCHlch(33.42, 88.37, 315.01°)
OKLaboklab(45.5% 0.1269 -0.1782)
OKLCHoklch(45.5% 0.219 305.4)
XYZxyz(15.8991, 7.7306, 43.8257)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7518B4 #57B418
analogous
#2718B4 #7518B4 #B418A5
triadic
#7518B4 #B47518 #18B475
tetradic
#7518B4 #B42718 #57B418 #18A5B4
square
#7518B4 #B42718 #57B418 #18A5B4
split-complementary
#7518B4 #A5B418 #18B427
monochromatic
#2F0A48 #52117E #7518B4 #9727E2 #B15DE9

Accessibility & contrast

On white

8.25
#7518B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7518B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7518B4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7518B4#FFFFFF#000000##FFFFFF
##7518B41.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#69466B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7518b4;
/* rgb */ color: rgb(117, 24, 180);
/* oklch */ color: oklch(45.5% 0.219 305.4);
Tailwind
colors: {
  custom: {
    50: '#a365cc',
    500: '#7518b4',
    950: '#000000',
  },
}
SCSS
$custom: #7518b4;
$custom-light: #a365cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7518b4",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 275.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.45496,
    "c": 0.21872,
    "h": 305.4
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#7518B4
secondary
#89CD5B
accent
#F33582
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7518B4

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

Preview Lab → · Contrast checker → · Palette generator →

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