#7122AF#7122AF

#7122AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.3% C 0.205 H 304.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7122AF
RGBrgb(113, 34, 175)
HSLhsl(274, 67%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(35.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(33.46, 57.73, -59.44)
CIE-LCHlch(33.46, 82.87, 314.16°)
OKLaboklab(45.27% 0.1161 -0.1695)
OKLCHoklch(45.27% 0.205 304.4)
XYZxyz(15.1182, 7.7500, 41.2486)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122AF #60AF22
analogous
#2A22AF #7122AF #AF22A6
triadic
#7122AF #AF7122 #22AF71
tetradic
#7122AF #AF2A22 #60AF22 #22A6AF
square
#7122AF #AF2A22 #60AF22 #22A6AF
split-complementary
#7122AF #A6AF22 #22AF2A
monochromatic
#2F0E49 #50187C #7122AF #9136D8 #AD69E2

Accessibility & contrast

On white

8.24
#7122AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7122AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122AF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122AF#FFFFFF#000000##FFFFFF
##7122AF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#654869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7122af;
/* rgb */ color: rgb(113, 34, 175);
/* oklch */ color: oklch(45.3% 0.205 304.4);
Tailwind
colors: {
  custom: {
    50: '#a068c8',
    500: '#7122af',
    950: '#000000',
  },
}
SCSS
$custom: #7122af;
$custom-light: #a068c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7122af",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 273.617,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.20543,
    "h": 304.4
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#7122AF
secondary
#90C865
accent
#EA3D89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7122AF

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

Preview Lab → · Contrast checker → · Palette generator →

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