#7B219D#7B219D

#7B219D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.192 H 314.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7B219D
RGBrgb(123, 33, 157)
HSLhsl(284, 65%, 37%)
HSVhsv(284, 79%, 62%)
CMYKcmyk(21.7%, 79%, 0%, 38.4%)
CIE-LABlab(33.42, 55.95, -48.60)
CIE-LCHlch(33.42, 74.11, 319.03°)
OKLaboklab(45.12% 0.1348 -0.1373)
OKLCHoklch(45.12% 0.192 314.5)
XYZxyz(14.7970, 7.7335, 32.6050)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B219D #439D21
analogous
#3D219D #7B219D #9D2181
triadic
#7B219D #9D7B21 #219D7B
tetradic
#7B219D #9D3D21 #439D21 #21819D
square
#7B219D #9D3D21 #439D21 #21819D
split-complementary
#7B219D #819D21 #219D3D
monochromatic
#2C0C38 #53166A #7B219D #A32CD0 #B95CDD

Accessibility & contrast

On white

8.25
#7B219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7B219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B219D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B219D#FFFFFF#000000##FFFFFF
##7B219D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#18519A
Tritanopia (blue-blind)
#783E5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b219d;
/* rgb */ color: rgb(123, 33, 157);
/* oklch */ color: oklch(45.1% 0.192 314.5);
Tailwind
colors: {
  custom: {
    50: '#a567bb',
    500: '#7b219d',
    950: '#000000',
  },
}
SCSS
$custom: #7b219d;
$custom-light: #a567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b219d",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 283.548,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.1924,
    "h": 314.5
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#7B219D
secondary
#75C159
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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