#7121B3#7121B3

#7121B3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.210 H 303.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7121B3
RGBrgb(113, 33, 179)
HSLhsl(273, 69%, 42%)
HSVhsv(273, 82%, 70%)
CMYKcmyk(36.9%, 81.6%, 0%, 29.8%)
CIE-LABlab(33.68, 58.99, -61.47)
CIE-LCHlch(33.68, 85.20, 313.82°)
OKLaboklab(45.53% 0.1156 -0.1755)
OKLCHoklch(45.53% 0.21 303.4)
XYZxyz(15.4887, 7.8531, 43.3389)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121B3 #63B321
analogous
#2821B3 #7121B3 #B321AC
triadic
#7121B3 #B37121 #21B371
tetradic
#7121B3 #B32821 #63B321 #21ACB3
square
#7121B3 #B32821 #63B321 #21ACB3
split-complementary
#7121B3 #ACB321 #21B328
monochromatic
#300E4C #50177F #7121B3 #9037DA #AD6BE4

Accessibility & contrast

On white

8.17
#7121B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7121B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121B3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121B3#FFFFFF#000000##FFFFFF
##7121B31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#634A6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7121b3;
/* rgb */ color: rgb(113, 33, 179);
/* oklch */ color: oklch(45.5% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#a067cb',
    500: '#7121b3',
    950: '#000000',
  },
}
SCSS
$custom: #7121b3;
$custom-light: #a067cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7121b3",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 272.877,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45529,
    "c": 0.21013,
    "h": 303.4
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#7121B3
secondary
#93CA66
accent
#EC3C8B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7121B3

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

Preview Lab → · Contrast checker → · Palette generator →

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