#7717B3#7717B3

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

Color values

HEX#7717B3
RGBrgb(119, 23, 179)
HSLhsl(277, 77%, 40%)
HSVhsv(277, 87%, 70%)
CMYKcmyk(33.5%, 87.2%, 0%, 29.8%)
CIE-LABlab(33.54, 62.82, -61.66)
CIE-LCHlch(33.54, 88.02, 315.54°)
OKLaboklab(45.62% 0.1306 -0.1757)
OKLCHoklch(45.62% 0.219 306.6)
XYZxyz(16.0490, 7.7896, 43.2971)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7717B3 #53B317
analogous
#2917B3 #7717B3 #B317A1
triadic
#7717B3 #B37717 #17B377
tetradic
#7717B3 #B32917 #53B317 #17A1B3
square
#7717B3 #B32917 #53B317 #17A1B3
split-complementary
#7717B3 #A1B317 #17B329
monochromatic
#2F0947 #53107D #7717B3 #9A24E3 #B35BEA

Accessibility & contrast

On white

8.21
#7717B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7717B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7717B3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7717B3#FFFFFF#000000##FFFFFF
##7717B31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7717b3;
/* rgb */ color: rgb(119, 23, 179);
/* oklch */ color: oklch(45.6% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#a565cb',
    500: '#7717b3',
    950: '#000000',
  },
}
SCSS
$custom: #7717b3;
$custom-light: #a565cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7717b3",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 276.923,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.21893,
    "h": 306.6
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#7717B3
secondary
#85CD58
accent
#F4347E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7717B3

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

Preview Lab → · Contrast checker → · Palette generator →

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