#7518B3#7518B3

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

Color values

HEX#7518B3
RGBrgb(117, 24, 179)
HSLhsl(276, 76%, 40%)
HSVhsv(276, 87%, 70%)
CMYKcmyk(34.6%, 86.6%, 0%, 29.8%)
CIE-LABlab(33.33, 62.28, -62.02)
CIE-LCHlch(33.33, 87.89, 315.12°)
OKLaboklab(45.41% 0.1272 -0.1768)
OKLCHoklch(45.41% 0.218 305.7)
XYZxyz(15.7976, 7.6900, 43.2912)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7518B3 #56B318
analogous
#2718B3 #7518B3 #B318A4
triadic
#7518B3 #B37518 #18B375
tetradic
#7518B3 #B32718 #56B318 #18A4B3
square
#7518B3 #B32718 #56B318 #18A4B3
split-complementary
#7518B3 #A4B318 #18B327
monochromatic
#2E0A47 #52117D #7518B3 #9726E2 #B15CE9

Accessibility & contrast

On white

8.27
#7518B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7518B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7518B3
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7518B3#FFFFFF#000000##FFFFFF
##7518B31.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7518b3;
/* rgb */ color: rgb(117, 24, 179);
/* oklch */ color: oklch(45.4% 0.218 305.7);
Tailwind
colors: {
  custom: {
    50: '#a365cb',
    500: '#7518b3',
    950: '#000000',
  },
}
SCSS
$custom: #7518b3;
$custom-light: #a365cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7518b3",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 276,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.21783,
    "h": 305.7
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#7518B3
secondary
#88CD5A
accent
#F33581
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7518B3

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

Preview Lab → · Contrast checker → · Palette generator →

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