#7718B4#7718B4

#7718B4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.8% C 0.219 H 306.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7718B4
RGBrgb(119, 24, 180)
HSLhsl(277, 76%, 40%)
HSVhsv(277, 87%, 71%)
CMYKcmyk(33.9%, 86.7%, 0%, 29.4%)
CIE-LABlab(33.71, 62.78, -61.97)
CIE-LCHlch(33.71, 88.21, 315.37°)
OKLaboklab(45.76% 0.1297 -0.1766)
OKLCHoklch(45.76% 0.219 306.3)
XYZxyz(16.1708, 7.8707, 43.8385)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7718B4 #55B418
analogous
#2918B4 #7718B4 #B418A3
triadic
#7718B4 #B47718 #18B477
tetradic
#7718B4 #B42918 #55B418 #18A3B4
square
#7718B4 #B42918 #55B418 #18A3B4
split-complementary
#7718B4 #A3B418 #18B429
monochromatic
#300A48 #53117E #7718B4 #9927E2 #B25DE9

Accessibility & contrast

On white

8.16
#7718B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7718B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7718B4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7718B4#FFFFFF#000000##FFFFFF
##7718B41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#6C466B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7718b4;
/* rgb */ color: rgb(119, 24, 180);
/* oklch */ color: oklch(45.8% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#a565cc',
    500: '#7718b4',
    950: '#000000',
  },
}
SCSS
$custom: #7718b4;
$custom-light: #a565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7718b4",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 276.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.21915,
    "h": 306.3
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#7718B4
secondary
#87CD5B
accent
#F3357F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7718B4

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

Preview Lab → · Contrast checker → · Palette generator →

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