#7118B3#7118B3

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

Color values

HEX#7118B3
RGBrgb(113, 24, 179)
HSLhsl(274, 76%, 40%)
HSVhsv(274, 87%, 70%)
CMYKcmyk(36.9%, 86.6%, 0%, 29.8%)
CIE-LABlab(32.74, 61.73, -63.00)
CIE-LCHlch(32.74, 88.20, 314.42°)
OKLaboklab(44.88% 0.1214 -0.1799)
OKLCHoklch(44.88% 0.217 304)
XYZxyz(15.2715, 7.4187, 43.2665)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7118B3 #5AB318
analogous
#2418B3 #7118B3 #B318A7
triadic
#7118B3 #B37118 #18B371
tetradic
#7118B3 #B32418 #5AB318 #18A7B3
square
#7118B3 #B32418 #5AB318 #18A7B3
split-complementary
#7118B3 #A7B318 #18B324
monochromatic
#2D0A47 #4F117D #7118B3 #9226E2 #AD5CE9

Accessibility & contrast

On white

8.45
#7118B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7118B3
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7118B3#FFFFFF#000000##FFFFFF
##7118B31.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)
#004BB7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#63466A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7118b3;
/* rgb */ color: rgb(113, 24, 179);
/* oklch */ color: oklch(44.9% 0.217 304.0);
Tailwind
colors: {
  custom: {
    50: '#a164cb',
    500: '#7118b3',
    950: '#000000',
  },
}
SCSS
$custom: #7118b3;
$custom-light: #a164cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7118b3",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 274.452,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.21701,
    "h": 304
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#7118B3
secondary
#8BCD5A
accent
#F33586
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7118B3

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

Preview Lab → · Contrast checker → · Palette generator →

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