#7122AC#7122AC

#7122AC is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.203 H 305.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7122AC
RGBrgb(113, 34, 172)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(34.3%, 80.2%, 0%, 32.5%)
CIE-LABlab(33.21, 57.06, -58.06)
CIE-LCHlch(33.21, 81.40, 314.50°)
OKLaboklab(45.02% 0.1169 -0.1654)
OKLCHoklch(45.02% 0.203 305.2)
XYZxyz(14.8268, 7.6334, 39.7140)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122AC #5DAC22
analogous
#2C22AC #7122AC #AC22A2
triadic
#7122AC #AC7122 #22AC71
tetradic
#7122AC #AC2C22 #5DAC22 #22A2AC
square
#7122AC #AC2C22 #5DAC22 #22A2AC
split-complementary
#7122AC #A2AC22 #22AC2C
monochromatic
#2E0E46 #4F1879 #7122AC #9134D7 #AD67E1

Accessibility & contrast

On white

8.31
#7122AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7122AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122AC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122AC#FFFFFF#000000##FFFFFF
##7122AC1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#664768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7122ac;
/* rgb */ color: rgb(113, 34, 172);
/* oklch */ color: oklch(45.0% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#a067c6',
    500: '#7122ac',
    950: '#000000',
  },
}
SCSS
$custom: #7122ac;
$custom-light: #a067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7122ac",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 274.348,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.20255,
    "h": 305.2
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#7122AC
secondary
#8EC763
accent
#EA3E87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7122AC

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

Preview Lab → · Contrast checker → · Palette generator →

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