#7B279A#7B279A

#7B279A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 315.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7B279A
RGBrgb(123, 39, 154)
HSLhsl(284, 60%, 38%)
HSVhsv(284, 75%, 60%)
CMYKcmyk(20.1%, 74.7%, 0%, 39.6%)
CIE-LABlab(33.97, 53.14, -45.88)
CIE-LCHlch(33.97, 70.21, 319.19°)
OKLaboklab(45.44% 0.1298 -0.1293)
OKLCHoklch(45.44% 0.183 315.1)
XYZxyz(14.7257, 7.9956, 31.3332)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B279A #469A27
analogous
#41279A #7B279A #9A277F
triadic
#7B279A #9A7B27 #279A7B
tetradic
#7B279A #9A4127 #469A27 #277F9A
square
#7B279A #9A4127 #469A27 #277F9A
split-complementary
#7B279A #7F9A27 #279A41
monochromatic
#2D0E38 #541B69 #7B279A #A233CB #B864D8

Accessibility & contrast

On white

8.08
#7B279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B279A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B279A#FFFFFF#000000##FFFFFF
##7B279A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#78405E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b279a;
/* rgb */ color: rgb(123, 39, 154);
/* oklch */ color: oklch(45.4% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#a56ab8',
    500: '#7b279a',
    950: '#000000',
  },
}
SCSS
$custom: #7b279a;
$custom-light: #a56ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b279a",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 283.826,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.18323,
    "h": 315.1
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#7B279A
secondary
#79BD5F
accent
#E34570
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B279A

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

Preview Lab → · Contrast checker → · Palette generator →

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