#7122B3#7122B3

#7122B3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.209 H 303.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7122B3
RGBrgb(113, 34, 179)
HSLhsl(273, 68%, 42%)
HSVhsv(273, 81%, 70%)
CMYKcmyk(36.9%, 81%, 0%, 29.8%)
CIE-LABlab(33.79, 58.64, -61.28)
CIE-LCHlch(33.79, 84.82, 313.74°)
OKLaboklab(45.61% 0.1149 -0.1749)
OKLCHoklch(45.61% 0.209 303.3)
XYZxyz(15.5168, 7.9094, 43.3483)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122B3 #64B322
analogous
#2922B3 #7122B3 #B322AD
triadic
#7122B3 #B37122 #22B371
tetradic
#7122B3 #B32922 #64B322 #22ADB3
square
#7122B3 #B32922 #64B322 #22ADB3
split-complementary
#7122B3 #ADB322 #22B329
monochromatic
#300E4C #511880 #7122B3 #9039D9 #AD6CE3

Accessibility & contrast

On white

8.13
#7122B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7122B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122B3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122B3#FFFFFF#000000##FFFFFF
##7122B31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#634A6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7122b3;
/* rgb */ color: rgb(113, 34, 179);
/* oklch */ color: oklch(45.6% 0.209 303.3);
Tailwind
colors: {
  custom: {
    50: '#a068cb',
    500: '#7122b3',
    950: '#000000',
  },
}
SCSS
$custom: #7122b3;
$custom-light: #a068cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7122b3",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 272.69,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.20927,
    "h": 303.3
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#7122B3
secondary
#94C968
accent
#EB3D8C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7122B3

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

Preview Lab → · Contrast checker → · Palette generator →

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