#7417B3#7417B3

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

Color values

HEX#7417B3
RGBrgb(116, 23, 179)
HSLhsl(276, 77%, 40%)
HSVhsv(276, 87%, 70%)
CMYKcmyk(35.2%, 87.2%, 0%, 29.8%)
CIE-LABlab(33.09, 62.40, -62.41)
CIE-LCHlch(33.09, 88.25, 315.00°)
OKLaboklab(45.22% 0.1263 -0.178)
OKLCHoklch(45.22% 0.218 305.4)
XYZxyz(15.6437, 7.5806, 43.2781)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7417B3 #56B317
analogous
#2617B3 #7417B3 #B317A4
triadic
#7417B3 #B37417 #17B374
tetradic
#7417B3 #B32617 #56B317 #17A4B3
square
#7417B3 #B32617 #56B317 #17A4B3
split-complementary
#7417B3 #A4B317 #17B326
monochromatic
#2E0947 #51107D #7417B3 #9624E3 #B05BEA

Accessibility & contrast

On white

8.35
#7417B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7417B3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7417B3#FFFFFF#000000##FFFFFF
##7417B31.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7417b3;
/* rgb */ color: rgb(116, 23, 179);
/* oklch */ color: oklch(45.2% 0.218 305.4);
Tailwind
colors: {
  custom: {
    50: '#a364cb',
    500: '#7417b3',
    950: '#000000',
  },
}
SCSS
$custom: #7417b3;
$custom-light: #a364cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7417b3",
  "rgb": {
    "r": 116,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 275.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.21827,
    "h": 305.4
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#7417B3
secondary
#88CD58
accent
#F43481
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7417B3

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

Preview Lab → · Contrast checker → · Palette generator →

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