#7B219F#7B219F

#7B219F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.194 H 313.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7B219F
RGBrgb(123, 33, 159)
HSLhsl(283, 66%, 38%)
HSVhsv(283, 79%, 62%)
CMYKcmyk(22.6%, 79.2%, 0%, 37.6%)
CIE-LABlab(33.57, 56.36, -49.57)
CIE-LCHlch(33.57, 75.06, 318.67°)
OKLaboklab(45.27% 0.1344 -0.1401)
OKLCHoklch(45.27% 0.194 313.8)
XYZxyz(14.9692, 7.8024, 33.5116)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B219F #459F21
analogous
#3C219F #7B219F #9F2184
triadic
#7B219F #9F7B21 #219F7B
tetradic
#7B219F #9F3C21 #459F21 #21849F
square
#7B219F #9F3C21 #459F21 #21849F
split-complementary
#7B219F #849F21 #219F3C
monochromatic
#2D0C3A #54166C #7B219F #A22CD2 #B95DDD

Accessibility & contrast

On white

8.20
#7B219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7B219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B219F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B219F#FFFFFF#000000##FFFFFF
##7B219F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#773F60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b219f;
/* rgb */ color: rgb(123, 33, 159);
/* oklch */ color: oklch(45.3% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#a668bc',
    500: '#7b219f',
    950: '#000000',
  },
}
SCSS
$custom: #7b219f;
$custom-light: #a668bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b219f",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 282.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.1942,
    "h": 313.8
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#7B219F
secondary
#78C25A
accent
#E93F70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B219F

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

Preview Lab → · Contrast checker → · Palette generator →

#7B219F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva