#7121A6#7121A6

#7121A6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.198 H 307.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7121A6
RGBrgb(113, 33, 166)
HSLhsl(276, 67%, 39%)
HSVhsv(276, 80%, 65%)
CMYKcmyk(31.9%, 80.1%, 0%, 34.9%)
CIE-LABlab(32.59, 56.07, -55.45)
CIE-LCHlch(32.59, 78.86, 315.32°)
OKLaboklab(44.44% 0.1193 -0.1578)
OKLCHoklch(44.44% 0.198 307.1)
XYZxyz(14.2354, 7.3518, 36.7381)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121A6 #56A621
analogous
#2F21A6 #7121A6 #A62199
triadic
#7121A6 #A67121 #21A671
tetradic
#7121A6 #A62F21 #56A621 #2199A6
square
#7121A6 #A62F21 #56A621 #2199A6
split-complementary
#7121A6 #99A621 #21A62F
monochromatic
#2B0D40 #4E1773 #7121A6 #932FD6 #AD62E0

Accessibility & contrast

On white

8.50
#7121A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7121A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121A6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121A6#FFFFFF#000000##FFFFFF
##7121A61.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#684464
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7121a6;
/* rgb */ color: rgb(113, 33, 166);
/* oklch */ color: oklch(44.4% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#9f67c1',
    500: '#7121a6',
    950: '#000000',
  },
}
SCSS
$custom: #7121a6;
$custom-light: #9f67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7121a6",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 276.09,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44442,
    "c": 0.19777,
    "h": 307.1
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#7121A6
secondary
#87C55E
accent
#EA3E82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7121A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7121A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva