#7122BC#7122BC

#7122BC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.218 H 301.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7122BC
RGBrgb(113, 34, 188)
HSLhsl(271, 69%, 44%)
HSVhsv(271, 82%, 74%)
CMYKcmyk(39.9%, 81.9%, 0%, 26.3%)
CIE-LABlab(34.57, 60.70, -65.34)
CIE-LCHlch(34.57, 89.19, 312.89°)
OKLaboklab(46.39% 0.1122 -0.1868)
OKLCHoklch(46.39% 0.218 301)
XYZxyz(16.4569, 8.2855, 48.2994)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122BC #6DBC22
analogous
#2422BC #7122BC #BC22BA
triadic
#7122BC #BC7122 #22BC71
tetradic
#7122BC #BC2422 #6DBC22 #22BABC
square
#7122BC #BC2422 #6DBC22 #22BABC
split-complementary
#7122BC #BABC22 #22BC24
monochromatic
#330F54 #521988 #7122BC #903FDC #AE73E6

Accessibility & contrast

On white

7.90
#7122BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7122BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122BC#FFFFFF#000000##FFFFFF
##7122BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#604E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7122bc;
/* rgb */ color: rgb(113, 34, 188);
/* oklch */ color: oklch(46.4% 0.218 301.0);
Tailwind
colors: {
  custom: {
    50: '#a168d1',
    500: '#7122bc',
    950: '#000000',
  },
}
SCSS
$custom: #7122bc;
$custom-light: #a168d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7122bc",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 270.779,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.2179,
    "h": 301
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#7122BC
secondary
#9CCD6D
accent
#EC3C92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7122BC

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

Preview Lab → · Contrast checker → · Palette generator →

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