#7717B4#7717B4

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

Color values

HEX#7717B4
RGBrgb(119, 23, 180)
HSLhsl(277, 77%, 40%)
HSVhsv(277, 87%, 71%)
CMYKcmyk(33.9%, 87.2%, 0%, 29.4%)
CIE-LABlab(33.63, 63.03, -62.11)
CIE-LCHlch(33.63, 88.49, 315.42°)
OKLaboklab(45.7% 0.1303 -0.1771)
OKLCHoklch(45.7% 0.22 306.3)
XYZxyz(16.1505, 7.8302, 43.8317)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7717B4 #54B417
analogous
#2917B4 #7717B4 #B417A3
triadic
#7717B4 #B47717 #17B477
tetradic
#7717B4 #B42917 #54B417 #17A3B4
square
#7717B4 #B42917 #54B417 #17A3B4
split-complementary
#7717B4 #A3B417 #17B429
monochromatic
#2F0947 #53107E #7717B4 #9925E3 #B35BEA

Accessibility & contrast

On white

8.18
#7717B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7717B4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7717B4#FFFFFF#000000##FFFFFF
##7717B41.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)
#004CB8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#6C466A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7717b4;
/* rgb */ color: rgb(119, 23, 180);
/* oklch */ color: oklch(45.7% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#a565cc',
    500: '#7717b4',
    950: '#000000',
  },
}
SCSS
$custom: #7717b4;
$custom-light: #a565cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7717b4",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 276.688,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.21981,
    "h": 306.3
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#7717B4
secondary
#86CE59
accent
#F4347F
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7717B4

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

Preview Lab → · Contrast checker → · Palette generator →

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