#7921BD#7921BD

#7921BD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.221 H 304.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7921BD
RGBrgb(121, 33, 189)
HSLhsl(274, 70%, 44%)
HSVhsv(274, 83%, 74%)
CMYKcmyk(36%, 82.5%, 0%, 25.9%)
CIE-LABlab(35.65, 62.43, -64.12)
CIE-LCHlch(35.65, 89.49, 314.23°)
OKLaboklab(47.4% 0.1241 -0.183)
OKLCHoklch(47.4% 0.221 304.2)
XYZxyz(17.6122, 8.8268, 48.9101)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921BD #65BD21
analogous
#2B21BD #7921BD #BD21B3
triadic
#7921BD #BD7921 #21BD79
tetradic
#7921BD #BD2B21 #65BD21 #21B3BD
square
#7921BD #BD2B21 #65BD21 #21B3BD
split-complementary
#7921BD #B3BD21 #21BD2B
monochromatic
#360F55 #581889 #7921BD #983EDD #B472E6

Accessibility & contrast

On white

7.59
#7921BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7921BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7921BD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7921BD#FFFFFF#000000##FFFFFF
##7921BD1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#6B4D71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7921bd;
/* rgb */ color: rgb(121, 33, 189);
/* oklch */ color: oklch(47.4% 0.221 304.2);
Tailwind
colors: {
  custom: {
    50: '#a669d2',
    500: '#7921bd',
    950: '#000000',
  },
}
SCSS
$custom: #7921bd;
$custom-light: #a669d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7921bd",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 273.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.22109,
    "h": 304.2
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#7921BD
secondary
#97CD6D
accent
#ED3B88
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7921BD

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

Preview Lab → · Contrast checker → · Palette generator →

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