#7122BA#7122BA

#7122BA is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.216 H 301.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7122BA
RGBrgb(113, 34, 186)
HSLhsl(271, 69%, 43%)
HSVhsv(271, 82%, 73%)
CMYKcmyk(39.2%, 81.7%, 0%, 27.1%)
CIE-LABlab(34.40, 60.24, -64.45)
CIE-LCHlch(34.40, 88.22, 313.07°)
OKLaboklab(46.22% 0.1128 -0.1842)
OKLCHoklch(46.22% 0.216 301.5)
XYZxyz(16.2428, 8.1998, 47.1718)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122BA #6BBA22
analogous
#2522BA #7122BA #BA22B7
triadic
#7122BA #BA7122 #22BA71
tetradic
#7122BA #BA2522 #6BBA22 #22B7BA
square
#7122BA #BA2522 #6BBA22 #22B7BA
split-complementary
#7122BA #B7BA22 #22BA25
monochromatic
#320F53 #521986 #7122BA #903EDC #AD71E5

Accessibility & contrast

On white

7.95
#7122BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7122BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122BA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122BA#FFFFFF#000000##FFFFFF
##7122BA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#614D70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7122ba;
/* rgb */ color: rgb(113, 34, 186);
/* oklch */ color: oklch(46.2% 0.216 301.5);
Tailwind
colors: {
  custom: {
    50: '#a168d0',
    500: '#7122ba',
    950: '#000000',
  },
}
SCSS
$custom: #7122ba;
$custom-light: #a168d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7122ba",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 271.184,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.21598,
    "h": 301.5
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#7122BA
secondary
#9ACC6C
accent
#EC3C90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7122BA

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

Preview Lab → · Contrast checker → · Palette generator →

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