#7122A3#7122A3

#7122A3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 307.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7122A3
RGBrgb(113, 34, 163)
HSLhsl(277, 65%, 39%)
HSVhsv(277, 79%, 64%)
CMYKcmyk(30.7%, 79.1%, 0%, 36.1%)
CIE-LABlab(32.48, 55.04, -53.83)
CIE-LCHlch(32.48, 76.99, 315.64°)
OKLaboklab(44.29% 0.1192 -0.153)
OKLCHoklch(44.29% 0.194 307.9)
XYZxyz(13.9915, 7.2993, 35.3151)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A3 #54A322
analogous
#3022A3 #7122A3 #A32294
triadic
#7122A3 #A37122 #22A371
tetradic
#7122A3 #A33022 #54A322 #2294A3
square
#7122A3 #A33022 #54A322 #2294A3
split-complementary
#7122A3 #94A322 #22A330
monochromatic
#2B0D3E #4E1770 #7122A3 #942FD4 #AE61DE

Accessibility & contrast

On white

8.54
#7122A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7122A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A3#FFFFFF#000000##FFFFFF
##7122A31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#694362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7122a3;
/* rgb */ color: rgb(113, 34, 163);
/* oklch */ color: oklch(44.3% 0.194 307.9);
Tailwind
colors: {
  custom: {
    50: '#9f67bf',
    500: '#7122a3',
    950: '#000000',
  },
}
SCSS
$custom: #7122a3;
$custom-light: #9f67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a3",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 276.744,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.19395,
    "h": 307.9
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#7122A3
secondary
#85C35E
accent
#E83F81
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7122A3

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

Preview Lab → · Contrast checker → · Palette generator →

#7122A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva