#7C279F#7C279F

#7C279F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.188 H 313.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7C279F
RGBrgb(124, 39, 159)
HSLhsl(283, 61%, 39%)
HSVhsv(283, 75%, 62%)
CMYKcmyk(22%, 75.5%, 0%, 37.6%)
CIE-LABlab(34.48, 54.38, -48.09)
CIE-LCHlch(34.48, 72.60, 318.51°)
OKLaboklab(45.94% 0.1304 -0.1358)
OKLCHoklch(45.94% 0.188 313.8)
XYZxyz(15.2946, 8.2398, 33.5789)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C279F #4A9F27
analogous
#40279F #7C279F #9F2786
triadic
#7C279F #9F7C27 #279F7C
tetradic
#7C279F #9F4027 #4A9F27 #27869F
square
#7C279F #9F4027 #4A9F27 #27869F
split-complementary
#7C279F #869F27 #279F40
monochromatic
#2F0F3D #561B6E #7C279F #A136CE #B867DA

Accessibility & contrast

On white

7.93
#7C279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7C279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C279F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C279F#FFFFFF#000000##FFFFFF
##7C279F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#794261
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c279f;
/* rgb */ color: rgb(124, 39, 159);
/* oklch */ color: oklch(45.9% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#a66abc',
    500: '#7c279f',
    950: '#000000',
  },
}
SCSS
$custom: #7c279f;
$custom-light: #a66abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c279f",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 282.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.18826,
    "h": 313.8
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#7C279F
secondary
#7DC062
accent
#E44473
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C279F

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

Preview Lab → · Contrast checker → · Palette generator →

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