#7B278F#7B278F

#7B278F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 319.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7B278F
RGBrgb(123, 39, 143)
HSLhsl(288, 57%, 36%)
HSVhsv(288, 73%, 56%)
CMYKcmyk(14%, 72.7%, 0%, 43.9%)
CIE-LABlab(33.23, 50.90, -40.34)
CIE-LCHlch(33.23, 64.95, 321.60°)
OKLaboklab(44.68% 0.1309 -0.1131)
OKLCHoklch(44.68% 0.173 319.2)
XYZxyz(13.8512, 7.6458, 26.7275)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B278F #3B8F27
analogous
#47278F #7B278F #8F276F
triadic
#7B278F #8F7B27 #278F7B
tetradic
#7B278F #8F4727 #3B8F27 #276F8F
square
#7B278F #8F4727 #3B8F27 #276F8F
split-complementary
#7B278F #6F8F27 #278F47
monochromatic
#280D2F #521A5F #7B278F #A434BF #BC5DD3

Accessibility & contrast

On white

8.30
#7B278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B278F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B278F#FFFFFF#000000##FFFFFF
##7B278F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#7B3B58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b278f;
/* rgb */ color: rgb(123, 39, 143);
/* oklch */ color: oklch(44.7% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#a569b0',
    500: '#7b278f',
    950: '#000000',
  },
}
SCSS
$custom: #7b278f;
$custom-light: #a569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b278f",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 288.462,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.17301,
    "h": 319.2
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#7B278F
secondary
#6CB85A
accent
#E04765
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B278F

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

Preview Lab → · Contrast checker → · Palette generator →

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