#7121BC#7121BC

#7121BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.219 H 301.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7121BC
RGBrgb(113, 33, 188)
HSLhsl(271, 70%, 43%)
HSVhsv(271, 82%, 74%)
CMYKcmyk(39.9%, 82.4%, 0%, 26.3%)
CIE-LABlab(34.46, 61.04, -65.53)
CIE-LCHlch(34.46, 89.55, 312.97°)
OKLaboklab(46.31% 0.1128 -0.1874)
OKLCHoklch(46.31% 0.219 301.1)
XYZxyz(16.4288, 8.2291, 48.2900)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7121BC #6CBC21
analogous
#2421BC #7121BC #BC21B9
triadic
#7121BC #BC7121 #21BC71
tetradic
#7121BC #BC2421 #6CBC21 #21B9BC
square
#7121BC #BC2421 #6CBC21 #21B9BC
split-complementary
#7121BC #B9BC21 #21BC24
monochromatic
#320F54 #521888 #7121BC #903DDD #AE71E6

Accessibility & contrast

On white

7.94
#7121BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7121BC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7121BC#FFFFFF#000000##FFFFFF
##7121BC1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#604E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7121bc;
/* rgb */ color: rgb(113, 33, 188);
/* oklch */ color: oklch(46.3% 0.219 301.1);
Tailwind
colors: {
  custom: {
    50: '#a168d1',
    500: '#7121bc',
    950: '#000000',
  },
}
SCSS
$custom: #7121bc;
$custom-light: #a168d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7121bc",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 270.968,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.21871,
    "h": 301.1
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#7121BC
secondary
#9BCD6C
accent
#ED3B91
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7121BC

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

Preview Lab → · Contrast checker → · Palette generator →

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