#7122BD#7122BD

#7122BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.219 H 300.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7122BD
RGBrgb(113, 34, 189)
HSLhsl(271, 70%, 44%)
HSVhsv(271, 82%, 74%)
CMYKcmyk(40.2%, 82%, 0%, 25.9%)
CIE-LABlab(34.66, 60.94, -65.79)
CIE-LCHlch(34.66, 89.67, 312.81°)
OKLaboklab(46.48% 0.1118 -0.1881)
OKLCHoklch(46.48% 0.219 300.7)
XYZxyz(16.5651, 8.3287, 48.8691)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7122BD #6EBD22
analogous
#2422BD #7122BD #BD22BB
triadic
#7122BD #BD7122 #22BD71
tetradic
#7122BD #BD2422 #6EBD22 #22BBBD
square
#7122BD #BD2422 #6EBD22 #22BBBD
split-complementary
#7122BD #BBBD22 #22BD24
monochromatic
#330F55 #521989 #7122BD #9040DD #AE73E6

Accessibility & contrast

On white

7.88
#7122BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7122BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7122BD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7122BD#FFFFFF#000000##FFFFFF
##7122BD1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5F4E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7122bd;
/* rgb */ color: rgb(113, 34, 189);
/* oklch */ color: oklch(46.5% 0.219 300.7);
Tailwind
colors: {
  custom: {
    50: '#a168d2',
    500: '#7122bd',
    950: '#000000',
  },
}
SCSS
$custom: #7122bd;
$custom-light: #a168d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7122bd",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 270.581,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.21886,
    "h": 300.7
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#7122BD
secondary
#9CCD6E
accent
#EC3B92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7122BD

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

Preview Lab → · Contrast checker → · Palette generator →

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