#7121A8#7121A8

#7121A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.200 H 306.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7121A8
RGBrgb(113, 33, 168)
HSLhsl(276, 67%, 39%)
HSVhsv(276, 80%, 66%)
CMYKcmyk(32.7%, 80.4%, 0%, 34.1%)
CIE-LABlab(32.76, 56.51, -56.39)
CIE-LCHlch(32.76, 79.84, 315.06°)
OKLaboklab(44.61% 0.1187 -0.1605)
OKLCHoklch(44.61% 0.2 306.5)
XYZxyz(14.4202, 7.4257, 37.7118)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121A8 #58A821
analogous
#2E21A8 #7121A8 #A8219B
triadic
#7121A8 #A87121 #21A871
tetradic
#7121A8 #A82E21 #58A821 #219BA8
square
#7121A8 #A82E21 #58A821 #219BA8
split-complementary
#7121A8 #9BA821 #21A82E
monochromatic
#2C0D42 #4F1775 #7121A8 #9330D6 #AD63E0

Accessibility & contrast

On white

8.45
#7121A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7121A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121A8
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121A8#FFFFFF#000000##FFFFFF
##7121A81.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#674565
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7121a8;
/* rgb */ color: rgb(113, 33, 168);
/* oklch */ color: oklch(44.6% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#9f67c3',
    500: '#7121a8',
    950: '#000000',
  },
}
SCSS
$custom: #7121a8;
$custom-light: #9f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7121a8",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 275.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.19967,
    "h": 306.5
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#7121A8
secondary
#89C55F
accent
#EA3E84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #7121A8

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

Preview Lab → · Contrast checker → · Palette generator →

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