#7121AB#7121AB

#7121AB is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.203 H 305.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7121AB
RGBrgb(113, 33, 171)
HSLhsl(275, 68%, 40%)
HSVhsv(275, 81%, 67%)
CMYKcmyk(33.9%, 80.7%, 0%, 32.9%)
CIE-LABlab(33.00, 57.18, -57.79)
CIE-LCHlch(33.00, 81.30, 314.70°)
OKLaboklab(44.85% 0.1179 -0.1646)
OKLCHoklch(44.85% 0.203 305.6)
XYZxyz(14.7029, 7.5388, 39.2007)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121AB #5BAB21
analogous
#2C21AB #7121AB #AB21A0
triadic
#7121AB #AB7121 #21AB71
tetradic
#7121AB #AB2C21 #5BAB21 #21A0AB
square
#7121AB #AB2C21 #5BAB21 #21A0AB
split-complementary
#7121AB #A0AB21 #21AB2C
monochromatic
#2D0D44 #4F1778 #7121AB #9232D7 #AD65E1

Accessibility & contrast

On white

8.37
#7121AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7121AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121AB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121AB#FFFFFF#000000##FFFFFF
##7121AB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#664667
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7121ab;
/* rgb */ color: rgb(113, 33, 171);
/* oklch */ color: oklch(44.9% 0.203 305.6);
Tailwind
colors: {
  custom: {
    50: '#a067c5',
    500: '#7121ab',
    950: '#000000',
  },
}
SCSS
$custom: #7121ab;
$custom-light: #a067c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7121ab",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 171
  },
  "hsl": {
    "h": 274.783,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.20251,
    "h": 305.6
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#7121AB
secondary
#8CC761
accent
#EB3D86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7121AB

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

Preview Lab → · Contrast checker → · Palette generator →

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