#7121AF#7121AF

#7121AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.206 H 304.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7121AF
RGBrgb(113, 33, 175)
HSLhsl(274, 68%, 41%)
HSVhsv(274, 81%, 69%)
CMYKcmyk(35.4%, 81.1%, 0%, 31.4%)
CIE-LABlab(33.34, 58.08, -59.64)
CIE-LCHlch(33.34, 83.25, 314.24°)
OKLaboklab(45.19% 0.1168 -0.1701)
OKLCHoklch(45.19% 0.206 304.5)
XYZxyz(15.0900, 7.6936, 41.2392)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121AF #5FAF21
analogous
#2A21AF #7121AF #AF21A6
triadic
#7121AF #AF7121 #21AF71
tetradic
#7121AF #AF2A21 #5FAF21 #21A6AF
square
#7121AF #AF2A21 #5FAF21 #21A6AF
split-complementary
#7121AF #A6AF21 #21AF2A
monochromatic
#2F0E48 #50177C #7121AF #9134D9 #AD68E3

Accessibility & contrast

On white

8.27
#7121AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7121AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121AF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121AF#FFFFFF#000000##FFFFFF
##7121AF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#654869
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7121af;
/* rgb */ color: rgb(113, 33, 175);
/* oklch */ color: oklch(45.2% 0.206 304.5);
Tailwind
colors: {
  custom: {
    50: '#a067c8',
    500: '#7121af',
    950: '#000000',
  },
}
SCSS
$custom: #7121af;
$custom-light: #a067c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7121af",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 273.803,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.20632,
    "h": 304.5
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#7121AF
secondary
#90C864
accent
#EB3D89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7121AF

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

Preview Lab → · Contrast checker → · Palette generator →

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