#7417B4#7417B4

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

Color values

HEX#7417B4
RGBrgb(116, 23, 180)
HSLhsl(276, 77%, 40%)
HSVhsv(276, 87%, 71%)
CMYKcmyk(35.6%, 87.2%, 0%, 29.4%)
CIE-LABlab(33.18, 62.62, -62.86)
CIE-LCHlch(33.18, 88.72, 314.89°)
OKLaboklab(45.31% 0.126 -0.1793)
OKLCHoklch(45.31% 0.219 305.1)
XYZxyz(15.7452, 7.6212, 43.8127)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7417B4 #57B417
analogous
#2517B4 #7417B4 #B417A6
triadic
#7417B4 #B47417 #17B474
tetradic
#7417B4 #B42517 #57B417 #17A6B4
square
#7417B4 #B42517 #57B417 #17A6B4
split-complementary
#7417B4 #A6B417 #17B425
monochromatic
#2E0947 #51107E #7417B4 #9625E3 #B05BEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7417B4#FFFFFF#000000##FFFFFF
##7417B41.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)
#67466A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7417b4;
/* rgb */ color: rgb(116, 23, 180);
/* oklch */ color: oklch(45.3% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#a364cc',
    500: '#7417b4',
    950: '#000000',
  },
}
SCSS
$custom: #7417b4;
$custom-light: #a364cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7417b4",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 275.541,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.21916,
    "h": 305.1
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#7417B4
secondary
#89CE59
accent
#F43482
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7417B4

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

Preview Lab → · Contrast checker → · Palette generator →

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