#7921B3#7921B3

#7921B3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.212 H 306.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7921B3
RGBrgb(121, 33, 179)
HSLhsl(276, 69%, 42%)
HSVhsv(276, 82%, 70%)
CMYKcmyk(32.4%, 81.6%, 0%, 29.8%)
CIE-LABlab(34.82, 60.24, -59.56)
CIE-LCHlch(34.82, 84.71, 315.33°)
OKLaboklab(46.56% 0.127 -0.1696)
OKLCHoklch(46.56% 0.212 306.8)
XYZxyz(16.5639, 8.4075, 43.3893)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921B3 #5BB321
analogous
#3021B3 #7921B3 #B321A4
triadic
#7921B3 #B37921 #21B379
tetradic
#7921B3 #B33021 #5BB321 #21A4B3
square
#7921B3 #B33021 #5BB321 #21A4B3
split-complementary
#7921B3 #A4B321 #21B330
monochromatic
#330E4C #56177F #7921B3 #9937DA #B46BE4

Accessibility & contrast

On white

7.83
#7921B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7921B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7921B3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7921B3#FFFFFF#000000##FFFFFF
##7921B31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#6F486B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7921b3;
/* rgb */ color: rgb(121, 33, 179);
/* oklch */ color: oklch(46.6% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#a668cb',
    500: '#7921b3',
    950: '#000000',
  },
}
SCSS
$custom: #7921b3;
$custom-light: #a668cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7921b3",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 276.164,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.21187,
    "h": 306.8
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#7921B3
secondary
#8ECA66
accent
#EC3C82
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7921B3

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

Preview Lab → · Contrast checker → · Palette generator →

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