#7122BB#7122BB

#7122BB is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.217 H 301.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7122BB
RGBrgb(113, 34, 187)
HSLhsl(271, 69%, 43%)
HSVhsv(271, 82%, 73%)
CMYKcmyk(39.6%, 81.8%, 0%, 26.7%)
CIE-LABlab(34.48, 60.47, -64.89)
CIE-LCHlch(34.48, 88.70, 312.98°)
OKLaboklab(46.3% 0.1125 -0.1855)
OKLCHoklch(46.3% 0.217 301.2)
XYZxyz(16.3495, 8.2425, 47.7337)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122BB #6CBB22
analogous
#2422BB #7122BB #BB22B8
triadic
#7122BB #BB7122 #22BB71
tetradic
#7122BB #BB2422 #6CBB22 #22B8BB
square
#7122BB #BB2422 #6CBB22 #22B8BB
split-complementary
#7122BB #B8BB22 #22BB24
monochromatic
#320F53 #521987 #7122BB #903EDC #AE72E5

Accessibility & contrast

On white

7.93
#7122BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7122BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122BB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122BB#FFFFFF#000000##FFFFFF
##7122BB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#604E70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7122bb;
/* rgb */ color: rgb(113, 34, 187);
/* oklch */ color: oklch(46.3% 0.217 301.2);
Tailwind
colors: {
  custom: {
    50: '#a168d1',
    500: '#7122bb',
    950: '#000000',
  },
}
SCSS
$custom: #7122bb;
$custom-light: #a168d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7122bb",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 270.98,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.21694,
    "h": 301.2
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#7122BB
secondary
#9BCC6D
accent
#EC3C91
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7122BB

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

Preview Lab → · Contrast checker → · Palette generator →

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