#7122A8#7122A8

#7122A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.199 H 306.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7122A8
RGBrgb(113, 34, 168)
HSLhsl(275, 66%, 40%)
HSVhsv(275, 80%, 66%)
CMYKcmyk(32.7%, 79.8%, 0%, 34.1%)
CIE-LABlab(32.88, 56.16, -56.19)
CIE-LCHlch(32.88, 79.44, 314.98°)
OKLaboklab(44.69% 0.1179 -0.1599)
OKLCHoklch(44.69% 0.199 306.4)
XYZxyz(14.4484, 7.4821, 37.7212)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122A8 #59A822
analogous
#2E22A8 #7122A8 #A8229C
triadic
#7122A8 #A87122 #22A871
tetradic
#7122A8 #A82E22 #59A822 #229CA8
square
#7122A8 #A82E22 #59A822 #229CA8
split-complementary
#7122A8 #9CA822 #22A82E
monochromatic
#2D0D42 #4F1875 #7122A8 #9232D5 #AD65E0

Accessibility & contrast

On white

8.41
#7122A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7122A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122A8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122A8#FFFFFF#000000##FFFFFF
##7122A81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#674565
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7122a8;
/* rgb */ color: rgb(113, 34, 168);
/* oklch */ color: oklch(44.7% 0.199 306.4);
Tailwind
colors: {
  custom: {
    50: '#9f67c3',
    500: '#7122a8',
    950: '#000000',
  },
}
SCSS
$custom: #7122a8;
$custom-light: #9f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7122a8",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 275.373,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.19872,
    "h": 306.4
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#7122A8
secondary
#8AC561
accent
#E93F85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7122A8

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

Preview Lab → · Contrast checker → · Palette generator →

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