#7121BD#7121BD

#7121BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.220 H 300.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7121BD
RGBrgb(113, 33, 189)
HSLhsl(271, 70%, 44%)
HSVhsv(271, 83%, 74%)
CMYKcmyk(40.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(34.54, 61.27, -65.97)
CIE-LCHlch(34.54, 90.04, 312.88°)
OKLaboklab(46.4% 0.1125 -0.1887)
OKLCHoklch(46.4% 0.22 300.8)
XYZxyz(16.5369, 8.2724, 48.8597)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121BD #6DBD21
analogous
#2321BD #7121BD #BD21BB
triadic
#7121BD #BD7121 #21BD71
tetradic
#7121BD #BD2321 #6DBD21 #21BBBD
square
#7121BD #BD2321 #6DBD21 #21BBBD
split-complementary
#7121BD #BBBD21 #21BD23
monochromatic
#330F55 #521889 #7121BD #903EDD #AE72E6

Accessibility & contrast

On white

7.91
#7121BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7121BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7121BD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121BD#FFFFFF#000000##FFFFFF
##7121BD1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5F4E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7121bd;
/* rgb */ color: rgb(113, 33, 189);
/* oklch */ color: oklch(46.4% 0.220 300.8);
Tailwind
colors: {
  custom: {
    50: '#a168d2',
    500: '#7121bd',
    950: '#000000',
  },
}
SCSS
$custom: #7121bd;
$custom-light: #a168d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7121bd",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 270.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.21966,
    "h": 300.8
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#7121BD
secondary
#9CCD6D
accent
#ED3B92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7121BD

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

Preview Lab → · Contrast checker → · Palette generator →

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