#7118A0#7118A0

#7118A0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.3% C 0.200 H 309.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7118A0
RGBrgb(113, 24, 160)
HSLhsl(279, 74%, 36%)
HSVhsv(279, 85%, 63%)
CMYKcmyk(29.4%, 85%, 0%, 37.3%)
CIE-LABlab(31.12, 57.65, -54.23)
CIE-LCHlch(31.12, 79.15, 316.75°)
OKLaboklab(43.26% 0.1274 -0.1541)
OKLCHoklch(43.26% 0.2 309.6)
XYZxyz(13.4806, 6.7023, 33.8344)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7118A0 #47A018
analogous
#2D18A0 #7118A0 #A0188B
triadic
#7118A0 #A07118 #18A071
tetradic
#7118A0 #A02D18 #47A018 #188BA0
square
#7118A0 #A02D18 #47A018 #188BA0
split-complementary
#7118A0 #8BA018 #18A02D
monochromatic
#260836 #4B106B #7118A0 #9720D5 #B04EE4

Accessibility & contrast

On white

8.97
#7118A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7118A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7118A0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7118A0#FFFFFF#000000##FFFFFF
##7118A01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7118a0;
/* rgb */ color: rgb(113, 24, 160);
/* oklch */ color: oklch(43.3% 0.200 309.6);
Tailwind
colors: {
  custom: {
    50: '#9f63bd',
    500: '#7118a0',
    950: '#000000',
  },
}
SCSS
$custom: #7118a0;
$custom-light: #9f63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7118a0",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 279.265,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.19997,
    "h": 309.6
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#7118A0
secondary
#77C64D
accent
#F13777
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7118A0

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

Preview Lab → · Contrast checker → · Palette generator →

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