#7117B3#7117B3

#7117B3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.8% C 0.218 H 304.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7117B3
RGBrgb(113, 23, 179)
HSLhsl(275, 77%, 40%)
HSVhsv(275, 87%, 70%)
CMYKcmyk(36.9%, 87.2%, 0%, 29.8%)
CIE-LABlab(32.65, 61.99, -63.15)
CIE-LCHlch(32.65, 88.49, 314.47°)
OKLaboklab(44.82% 0.122 -0.1803)
OKLCHoklch(44.82% 0.218 304.1)
XYZxyz(15.2512, 7.3782, 43.2597)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7117B3 #59B317
analogous
#2317B3 #7117B3 #B317A7
triadic
#7117B3 #B37117 #17B371
tetradic
#7117B3 #B32317 #59B317 #17A7B3
square
#7117B3 #B32317 #59B317 #17A7B3
split-complementary
#7117B3 #A7B317 #17B323
monochromatic
#2D0947 #4F107D #7117B3 #9224E3 #AD5BEA

Accessibility & contrast

On white

8.48
#7117B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7117B3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7117B3#FFFFFF#000000##FFFFFF
##7117B31.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#63466A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7117b3;
/* rgb */ color: rgb(113, 23, 179);
/* oklch */ color: oklch(44.8% 0.218 304.1);
Tailwind
colors: {
  custom: {
    50: '#a164cb',
    500: '#7117b3',
    950: '#000000',
  },
}
SCSS
$custom: #7117b3;
$custom-light: #a164cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7117b3",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 274.615,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.21766,
    "h": 304.1
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#7117B3
secondary
#8ACD58
accent
#F43485
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7117B3

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

Preview Lab → · Contrast checker → · Palette generator →

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