#7121A2#7121A2

#7121A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.194 H 308.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7121A2
RGBrgb(113, 33, 162)
HSLhsl(277, 66%, 38%)
HSVhsv(277, 80%, 64%)
CMYKcmyk(30.2%, 79.6%, 0%, 36.5%)
CIE-LABlab(32.27, 55.19, -53.56)
CIE-LCHlch(32.27, 76.90, 315.86°)
OKLaboklab(44.12% 0.1203 -0.1522)
OKLCHoklch(44.12% 0.194 308.3)
XYZxyz(13.8741, 7.2073, 34.8357)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121A2 #52A221
analogous
#3021A2 #7121A2 #A22192
triadic
#7121A2 #A27121 #21A271
tetradic
#7121A2 #A23021 #52A221 #2192A2
square
#7121A2 #A23021 #52A221 #2192A2
split-complementary
#7121A2 #92A221 #21A230
monochromatic
#2A0C3C #4E176F #7121A2 #942CD4 #AE5FDE

Accessibility & contrast

On white

8.60
#7121A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7121A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121A2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121A2#FFFFFF#000000##FFFFFF
##7121A21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#694262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7121a2;
/* rgb */ color: rgb(113, 33, 162);
/* oklch */ color: oklch(44.1% 0.194 308.3);
Tailwind
colors: {
  custom: {
    50: '#9f66be',
    500: '#7121a2',
    950: '#000000',
  },
}
SCSS
$custom: #7121a2;
$custom-light: #9f66be;
$custom-dark: #000000;
JSON
{
  "hex": "#7121a2",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 277.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.19397,
    "h": 308.3
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#7121A2
secondary
#83C35C
accent
#E93F7F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7121A2

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

Preview Lab → · Contrast checker → · Palette generator →

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