#7B277F#7B277F

#7B277F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 326.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#7B277F
RGBrgb(123, 39, 127)
HSLhsl(297, 53%, 33%)
HSVhsv(297, 69%, 50%)
CMYKcmyk(3.1%, 69.3%, 0%, 50.2%)
CIE-LABlab(32.25, 47.82, -31.99)
CIE-LCHlch(32.25, 57.53, 326.22°)
OKLaboklab(43.65% 0.1314 -0.0887)
OKLCHoklch(43.65% 0.159 326)
XYZxyz(12.7244, 7.1951, 20.7931)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B277F #2B7F27
analogous
#4F277F #7B277F #7F2757
triadic
#7B277F #7F7B27 #277F7B
tetradic
#7B277F #7F4F27 #2B7F27 #27577F
square
#7B277F #7F4F27 #2B7F27 #27577F
split-complementary
#7B277F #577F27 #277F4F
monochromatic
#200A21 #4E1950 #7B277F #A835AE #C655CB

Accessibility & contrast

On white

8.61
#7B277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7B277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B277F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B277F#FFFFFF#000000##FFFFFF
##7B277F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#3A4F7D
Tritanopia (blue-blind)
#7E3450
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b277f;
/* rgb */ color: rgb(123, 39, 127);
/* oklch */ color: oklch(43.7% 0.159 326.0);
Tailwind
colors: {
  custom: {
    50: '#a469a4',
    500: '#7b277f',
    950: '#000000',
  },
}
SCSS
$custom: #7b277f;
$custom-light: #a469a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b277f",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 297.273,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.15853,
    "h": 326
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#7B277F
secondary
#56B052
accent
#DC4B52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B277F

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

Preview Lab → · Contrast checker → · Palette generator →

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