#7121AD#7121AD

#7121AD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.204 H 305.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7121AD
RGBrgb(113, 33, 173)
HSLhsl(274, 68%, 40%)
HSVhsv(274, 81%, 68%)
CMYKcmyk(34.7%, 80.9%, 0%, 32.2%)
CIE-LABlab(33.17, 57.63, -58.72)
CIE-LCHlch(33.17, 82.28, 314.47°)
OKLaboklab(45.02% 0.1174 -0.1674)
OKLCHoklch(45.02% 0.204 305)
XYZxyz(14.8950, 7.6156, 40.2123)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121AD #5DAD21
analogous
#2B21AD #7121AD #AD21A3
triadic
#7121AD #AD7121 #21AD71
tetradic
#7121AD #AD2B21 #5DAD21 #21A3AD
square
#7121AD #AD2B21 #5DAD21 #21A3AD
split-complementary
#7121AD #A3AD21 #21AD2B
monochromatic
#2E0D46 #4F177A #7121AD #9133D8 #AD66E2

Accessibility & contrast

On white

8.32
#7121AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7121AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121AD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121AD#FFFFFF#000000##FFFFFF
##7121AD1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#654768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7121ad;
/* rgb */ color: rgb(113, 33, 173);
/* oklch */ color: oklch(45.0% 0.204 305.0);
Tailwind
colors: {
  custom: {
    50: '#a067c6',
    500: '#7121ad',
    950: '#000000',
  },
}
SCSS
$custom: #7121ad;
$custom-light: #a067c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7121ad",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 274.286,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.20442,
    "h": 305
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#7121AD
secondary
#8EC762
accent
#EB3D87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7121AD

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

Preview Lab → · Contrast checker → · Palette generator →

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