#7B279C#7B279C

#7B279C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.185 H 314.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7B279C
RGBrgb(123, 39, 156)
HSLhsl(283, 60%, 38%)
HSVhsv(283, 75%, 61%)
CMYKcmyk(21.2%, 75%, 0%, 38.8%)
CIE-LABlab(34.11, 53.56, -46.87)
CIE-LCHlch(34.11, 71.17, 318.81°)
OKLaboklab(45.58% 0.1295 -0.1322)
OKLCHoklch(45.58% 0.185 314.4)
XYZxyz(14.8936, 8.0628, 32.2178)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B279C #489C27
analogous
#40279C #7B279C #9C2782
triadic
#7B279C #9C7B27 #279C7B
tetradic
#7B279C #9C4027 #489C27 #27829C
square
#7B279C #9C4027 #489C27 #27829C
split-complementary
#7B279C #829C27 #279C40
monochromatic
#2E0F3A #541B6B #7B279C #A134CC #B865D8

Accessibility & contrast

On white

8.04
#7B279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B279C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B279C#FFFFFF#000000##FFFFFF
##7B279C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#784160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b279c;
/* rgb */ color: rgb(123, 39, 156);
/* oklch */ color: oklch(45.6% 0.185 314.4);
Tailwind
colors: {
  custom: {
    50: '#a56aba',
    500: '#7b279c',
    950: '#000000',
  },
}
SCSS
$custom: #7b279c;
$custom-light: #a56aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b279c",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 283.077,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45582,
    "c": 0.1851,
    "h": 314.4
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#7B279C
secondary
#7BBE61
accent
#E34571
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B279C

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

Preview Lab → · Contrast checker → · Palette generator →

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