#7120BD#7120BD

#7120BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.220 H 300.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7120BD
RGBrgb(113, 32, 189)
HSLhsl(271, 71%, 43%)
HSVhsv(271, 83%, 74%)
CMYKcmyk(40.2%, 83.1%, 0%, 25.9%)
CIE-LABlab(34.43, 61.60, -66.16)
CIE-LCHlch(34.43, 90.39, 312.96°)
OKLaboklab(46.32% 0.1132 -0.1892)
OKLCHoklch(46.32% 0.22 300.9)
XYZxyz(16.5096, 8.2177, 48.8506)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7120BD #6CBD20
analogous
#2220BD #7120BD #BD20BA
triadic
#7120BD #BD7120 #20BD71
tetradic
#7120BD #BD2220 #6CBD20 #20BABD
square
#7120BD #BD2220 #6CBD20 #20BABD
split-complementary
#7120BD #BABD20 #20BD22
monochromatic
#320E54 #521789 #7120BD #903CDE #AE71E7

Accessibility & contrast

On white

7.94
#7120BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7120BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7120BD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7120BD#FFFFFF#000000##FFFFFF
##7120BD1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7120bd;
/* rgb */ color: rgb(113, 32, 189);
/* oklch */ color: oklch(46.3% 0.220 300.9);
Tailwind
colors: {
  custom: {
    50: '#a168d2',
    500: '#7120bd',
    950: '#000000',
  },
}
SCSS
$custom: #7120bd;
$custom-light: #a168d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7120bd",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 270.955,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.22045,
    "h": 300.9
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#7120BD
secondary
#9BCD6B
accent
#EE3A91
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7120BD

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

Preview Lab → · Contrast checker → · Palette generator →

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