#7B219B#7B219B

#7B219B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.191 H 315.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7B219B
RGBrgb(123, 33, 155)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(20.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(33.28, 55.55, -47.61)
CIE-LCHlch(33.28, 73.16, 319.40°)
OKLaboklab(44.97% 0.1352 -0.1344)
OKLCHoklch(44.97% 0.191 315.2)
XYZxyz(14.6277, 7.6658, 31.7131)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B219B #419B21
analogous
#3E219B #7B219B #9B217E
triadic
#7B219B #9B7B21 #219B7B
tetradic
#7B219B #9B3E21 #419B21 #217E9B
square
#7B219B #9B3E21 #419B21 #217E9B
split-complementary
#7B219B #7E9B21 #219B3E
monochromatic
#2B0C36 #531669 #7B219B #A32CCD #BA5ADC

Accessibility & contrast

On white

8.29
#7B219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B219B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B219B#FFFFFF#000000##FFFFFF
##7B219B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#783D5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b219b;
/* rgb */ color: rgb(123, 33, 155);
/* oklch */ color: oklch(45.0% 0.191 315.2);
Tailwind
colors: {
  custom: {
    50: '#a567b9',
    500: '#7b219b',
    950: '#000000',
  },
}
SCSS
$custom: #7b219b;
$custom-light: #a567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b219b",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 284.262,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44968,
    "c": 0.19061,
    "h": 315.2
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#7B219B
secondary
#73C058
accent
#E8406C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B219B

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

Preview Lab → · Contrast checker → · Palette generator →

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