#7418B4#7418B4

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

Color values

HEX#7418B4
RGBrgb(116, 24, 180)
HSLhsl(275, 76%, 40%)
HSVhsv(275, 87%, 71%)
CMYKcmyk(35.6%, 86.7%, 0%, 29.4%)
CIE-LABlab(33.27, 62.36, -62.72)
CIE-LCHlch(33.27, 88.44, 314.84°)
OKLaboklab(45.37% 0.1254 -0.1789)
OKLCHoklch(45.37% 0.219 305)
XYZxyz(15.7654, 7.6616, 43.8195)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7418B4 #58B418
analogous
#2618B4 #7418B4 #B418A6
triadic
#7418B4 #B47418 #18B474
tetradic
#7418B4 #B42618 #58B418 #18A6B4
square
#7418B4 #B42618 #58B418 #18A6B4
split-complementary
#7418B4 #A6B418 #18B426
monochromatic
#2E0A48 #51117E #7418B4 #9527E2 #B05DE9

Accessibility & contrast

On white

8.29
#7418B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7418B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7418B4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7418B4#FFFFFF#000000##FFFFFF
##7418B41.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#67476B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7418b4;
/* rgb */ color: rgb(116, 24, 180);
/* oklch */ color: oklch(45.4% 0.219 305.0);
Tailwind
colors: {
  custom: {
    50: '#a365cc',
    500: '#7418b4',
    950: '#000000',
  },
}
SCSS
$custom: #7418b4;
$custom-light: #a365cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7418b4",
  "rgb": {
    "r": 116,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 275.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.21851,
    "h": 305
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#7418B4
secondary
#8ACD5B
accent
#F33583
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7418B4

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

Preview Lab → · Contrast checker → · Palette generator →

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