#7120B3#7120B3

#7120B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.211 H 303.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7120B3
RGBrgb(113, 32, 179)
HSLhsl(273, 70%, 41%)
HSVhsv(273, 82%, 70%)
CMYKcmyk(36.9%, 82.1%, 0%, 29.8%)
CIE-LABlab(33.56, 59.33, -61.66)
CIE-LCHlch(33.56, 85.57, 313.89°)
OKLaboklab(45.45% 0.1163 -0.176)
OKLCHoklch(45.45% 0.211 303.5)
XYZxyz(15.4613, 7.7984, 43.3298)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7120B3 #62B320
analogous
#2820B3 #7120B3 #B320AC
triadic
#7120B3 #B37120 #20B371
tetradic
#7120B3 #B32820 #62B320 #20ACB3
square
#7120B3 #B32820 #62B320 #20ACB3
split-complementary
#7120B3 #ACB320 #20B328
monochromatic
#2F0D4B #50177F #7120B3 #9135DB #AD69E4

Accessibility & contrast

On white

8.20
#7120B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7120B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7120B3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7120B3#FFFFFF#000000##FFFFFF
##7120B31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#63496B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7120b3;
/* rgb */ color: rgb(113, 32, 179);
/* oklch */ color: oklch(45.4% 0.211 303.5);
Tailwind
colors: {
  custom: {
    50: '#a067cb',
    500: '#7120b3',
    950: '#000000',
  },
}
SCSS
$custom: #7120b3;
$custom-light: #a067cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7120b3",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 273.061,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.21098,
    "h": 303.5
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#7120B3
secondary
#92CA65
accent
#EC3B8B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7120B3

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

Preview Lab → · Contrast checker → · Palette generator →

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