#7122A6#7122A6

#7122A6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.197 H 307.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7122A6
RGBrgb(113, 34, 166)
HSLhsl(276, 66%, 39%)
HSVhsv(276, 80%, 65%)
CMYKcmyk(31.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(32.72, 55.71, -55.25)
CIE-LCHlch(32.72, 78.46, 315.24°)
OKLaboklab(44.53% 0.1184 -0.1572)
OKLCHoklch(44.53% 0.197 307)
XYZxyz(14.2635, 7.4081, 36.7475)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A6 #57A622
analogous
#2F22A6 #7122A6 #A62299
triadic
#7122A6 #A67122 #22A671
tetradic
#7122A6 #A62F22 #57A622 #2299A6
square
#7122A6 #A62F22 #57A622 #2299A6
split-complementary
#7122A6 #99A622 #22A62F
monochromatic
#2C0D40 #4E1873 #7122A6 #9330D5 #AD63DF

Accessibility & contrast

On white

8.46
#7122A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7122A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A6
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A6#FFFFFF#000000##FFFFFF
##7122A61.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.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: #7122a6;
/* rgb */ color: rgb(113, 34, 166);
/* oklch */ color: oklch(44.5% 0.197 307.0);
Tailwind
colors: {
  custom: {
    50: '#9f67c1',
    500: '#7122a6',
    950: '#000000',
  },
}
SCSS
$custom: #7122a6;
$custom-light: #9f67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a6",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 275.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.19681,
    "h": 307
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#7122A6
secondary
#88C45F
accent
#E93F83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7122A6

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

Preview Lab → · Contrast checker → · Palette generator →

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