#7120BE#7120BE

#7120BE is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.221 H 300.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7120BE
RGBrgb(113, 32, 190)
HSLhsl(271, 71%, 44%)
HSVhsv(271, 83%, 75%)
CMYKcmyk(40.5%, 83.2%, 0%, 25.5%)
CIE-LABlab(34.52, 61.83, -66.60)
CIE-LCHlch(34.52, 90.87, 312.87°)
OKLaboklab(46.41% 0.1128 -0.1905)
OKLCHoklch(46.41% 0.221 300.6)
XYZxyz(16.6185, 8.2613, 49.4243)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7120BE #6DBE20
analogous
#2220BE #7120BE #BE20BC
triadic
#7120BE #BE7120 #20BE71
tetradic
#7120BE #BE2220 #6DBE20 #20BCBE
square
#7120BE #BE2220 #6DBE20 #20BCBE
split-complementary
#7120BE #BCBE20 #20BE22
monochromatic
#330E55 #52178A #7120BE #903DDE #AE71E7

Accessibility & contrast

On white

7.92
#7120BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7120BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7120BE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7120BE#FFFFFF#000000##FFFFFF
##7120BE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#5F4E72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7120be;
/* rgb */ color: rgb(113, 32, 190);
/* oklch */ color: oklch(46.4% 0.221 300.6);
Tailwind
colors: {
  custom: {
    50: '#a168d3',
    500: '#7120be',
    950: '#000000',
  },
}
SCSS
$custom: #7120be;
$custom-light: #a168d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7120be",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 190
  },
  "hsl": {
    "h": 270.759,
    "s": 71.171,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.2214,
    "h": 300.6
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#7120BE
secondary
#9CCE6C
accent
#EE3A92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7120BE

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

Preview Lab → · Contrast checker → · Palette generator →

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