#7118A1#7118A1

#7118A1 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.201 H 309.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7118A1
RGBrgb(113, 24, 161)
HSLhsl(279, 74%, 36%)
HSVhsv(279, 85%, 63%)
CMYKcmyk(29.8%, 85.1%, 0%, 36.9%)
CIE-LABlab(31.20, 57.86, -54.70)
CIE-LCHlch(31.20, 79.62, 316.61°)
OKLaboklab(43.35% 0.1272 -0.1555)
OKLCHoklch(43.35% 0.201 309.3)
XYZxyz(13.5684, 6.7375, 34.2970)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7118A1 #48A118
analogous
#2D18A1 #7118A1 #A1188D
triadic
#7118A1 #A17118 #18A171
tetradic
#7118A1 #A12D18 #48A118 #188DA1
square
#7118A1 #A12D18 #48A118 #188DA1
split-complementary
#7118A1 #8DA118 #18A12D
monochromatic
#260836 #4C106C #7118A1 #9620D6 #B04FE5

Accessibility & contrast

On white

8.95
#7118A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7118A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7118A1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7118A1#FFFFFF#000000##FFFFFF
##7118A11.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#6A3E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7118a1;
/* rgb */ color: rgb(113, 24, 161);
/* oklch */ color: oklch(43.3% 0.201 309.3);
Tailwind
colors: {
  custom: {
    50: '#9f63be',
    500: '#7118a1',
    950: '#000000',
  },
}
SCSS
$custom: #7118a1;
$custom-light: #9f63be;
$custom-dark: #000000;
JSON
{
  "hex": "#7118a1",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 278.978,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.20087,
    "h": 309.3
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#7118A1
secondary
#78C74E
accent
#F13778
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7118A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7118A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva