#7718B3#7718B3

#7718B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.7% C 0.218 H 306.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7718B3
RGBrgb(119, 24, 179)
HSLhsl(277, 76%, 40%)
HSVhsv(277, 87%, 70%)
CMYKcmyk(33.5%, 86.6%, 0%, 29.8%)
CIE-LABlab(33.63, 62.57, -61.52)
CIE-LCHlch(33.63, 87.74, 315.49°)
OKLaboklab(45.68% 0.13 -0.1753)
OKLCHoklch(45.68% 0.218 306.6)
XYZxyz(16.0693, 7.8301, 43.3039)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7718B3 #54B318
analogous
#2918B3 #7718B3 #B318A2
triadic
#7718B3 #B37718 #18B377
tetradic
#7718B3 #B32918 #54B318 #18A2B3
square
#7718B3 #B32918 #54B318 #18A2B3
split-complementary
#7718B3 #A2B318 #18B329
monochromatic
#2F0A47 #53117D #7718B3 #9926E2 #B35CE9

Accessibility & contrast

On white

8.18
#7718B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7718B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7718B3#FFFFFF#000000##FFFFFF
##7718B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#6C466A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7718b3;
/* rgb */ color: rgb(119, 24, 179);
/* oklch */ color: oklch(45.7% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#a565cb',
    500: '#7718b3',
    950: '#000000',
  },
}
SCSS
$custom: #7718b3;
$custom-light: #a565cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7718b3",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 276.774,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.21827,
    "h": 306.6
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#7718B3
secondary
#86CD5A
accent
#F3357E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7718B3

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

Preview Lab → · Contrast checker → · Palette generator →

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