#7117B4#7117B4

#7117B4 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.9% C 0.219 H 303.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7117B4
RGBrgb(113, 23, 180)
HSLhsl(274, 77%, 40%)
HSVhsv(274, 87%, 71%)
CMYKcmyk(37.2%, 87.2%, 0%, 29.4%)
CIE-LABlab(32.74, 62.21, -63.59)
CIE-LCHlch(32.74, 88.96, 314.37°)
OKLaboklab(44.91% 0.1216 -0.1816)
OKLCHoklch(44.91% 0.219 303.8)
XYZxyz(15.3527, 7.4188, 43.7943)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7117B4 #5AB417
analogous
#2317B4 #7117B4 #B417A9
triadic
#7117B4 #B47117 #17B471
tetradic
#7117B4 #B42317 #5AB417 #17A9B4
square
#7117B4 #B42317 #5AB417 #17A9B4
split-complementary
#7117B4 #A9B417 #17B423
monochromatic
#2D0947 #4F107E #7117B4 #9225E3 #AD5BEA

Accessibility & contrast

On white

8.45
#7117B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7117B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7117B4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7117B4#FFFFFF#000000##FFFFFF
##7117B41.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#63476A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7117b4;
/* rgb */ color: rgb(113, 23, 180);
/* oklch */ color: oklch(44.9% 0.219 303.8);
Tailwind
colors: {
  custom: {
    50: '#a164cc',
    500: '#7117b4',
    950: '#000000',
  },
}
SCSS
$custom: #7117b4;
$custom-light: #a164cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7117b4",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 274.395,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.21856,
    "h": 303.8
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#7117B4
secondary
#8BCE59
accent
#F43486
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7117B4

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

Preview Lab → · Contrast checker → · Palette generator →

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