#7120A5#7120A5

#7120A5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.198 H 307.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7120A5
RGBrgb(113, 32, 165)
HSLhsl(277, 68%, 39%)
HSVhsv(277, 81%, 65%)
CMYKcmyk(31.5%, 80.6%, 0%, 35.3%)
CIE-LABlab(32.39, 56.20, -55.18)
CIE-LCHlch(32.39, 78.76, 315.53°)
OKLaboklab(44.28% 0.1203 -0.157)
OKLCHoklch(44.28% 0.198 307.5)
XYZxyz(14.1166, 7.2605, 36.2478)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7120A5 #54A520
analogous
#2E20A5 #7120A5 #A52096
triadic
#7120A5 #A57120 #20A571
tetradic
#7120A5 #A52E20 #54A520 #2096A5
square
#7120A5 #A52E20 #54A520 #2096A5
split-complementary
#7120A5 #96A520 #20A52E
monochromatic
#2B0C3E #4E1672 #7120A5 #942CD6 #AE5FE0

Accessibility & contrast

On white

8.56
#7120A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7120A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7120A5
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7120A5#FFFFFF#000000##FFFFFF
##7120A51.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#684363
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7120a5;
/* rgb */ color: rgb(113, 32, 165);
/* oklch */ color: oklch(44.3% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#9f66c1',
    500: '#7120a5',
    950: '#000000',
  },
}
SCSS
$custom: #7120a5;
$custom-light: #9f66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7120a5",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 276.541,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.19776,
    "h": 307.5
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#7120A5
secondary
#85C55C
accent
#EA3D81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7120A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7120A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva