#7B277C#7B277C

#7B277C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.156 H 327.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7B277C
RGBrgb(123, 39, 124)
HSLhsl(299, 52%, 32%)
HSVhsv(299, 69%, 49%)
CMYKcmyk(0.8%, 68.5%, 0%, 51.4%)
CIE-LABlab(32.07, 47.27, -30.38)
CIE-LCHlch(32.07, 56.19, 327.27°)
OKLaboklab(43.47% 0.1313 -0.0841)
OKLCHoklch(43.47% 0.156 327.4)
XYZxyz(12.5318, 7.1181, 19.7787)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B277C #287C27
analogous
#51277C #7B277C #7C2753
triadic
#7B277C #7C7B27 #277C7B
tetradic
#7B277C #7C5127 #287C27 #27537C
square
#7B277C #7C5127 #287C27 #27537C
split-complementary
#7B277C #537C27 #277C51
monochromatic
#1F0A1F #4D184D #7B277C #A936AB #C854C9

Accessibility & contrast

On white

8.67
#7B277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B277C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B277C#FFFFFF#000000##FFFFFF
##7B277C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#7F334E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b277c;
/* rgb */ color: rgb(123, 39, 124);
/* oklch */ color: oklch(43.5% 0.156 327.4);
Tailwind
colors: {
  custom: {
    50: '#a469a2',
    500: '#7b277c',
    950: '#000000',
  },
}
SCSS
$custom: #7b277c;
$custom-light: #a469a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b277c",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 299.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.15591,
    "h": 327.4
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#7B277C
secondary
#52AE51
accent
#DC4C4E
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7B277C

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

Preview Lab → · Contrast checker → · Palette generator →

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