#7F2793#7F2793

#7F2793 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.178 H 319.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7F2793
RGBrgb(127, 39, 147)
HSLhsl(289, 58%, 36%)
HSVhsv(289, 73%, 58%)
CMYKcmyk(13.6%, 73.5%, 0%, 42.4%)
CIE-LABlab(34.13, 52.58, -41.33)
CIE-LCHlch(34.13, 66.88, 321.83°)
OKLaboklab(45.53% 0.1356 -0.1159)
OKLCHoklch(45.53% 0.178 319.5)
XYZxyz(14.7437, 8.0704, 28.3792)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2793 #3B9327
analogous
#492793 #7F2793 #932771
triadic
#7F2793 #937F27 #27937F
tetradic
#7F2793 #934927 #3B9327 #277193
square
#7F2793 #934927 #3B9327 #277193
split-complementary
#7F2793 #719327 #279349
monochromatic
#2B0D32 #551A63 #7F2793 #A934C3 #BF60D5

Accessibility & contrast

On white

8.03
#7F2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2793
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2793#FFFFFF#000000##FFFFFF
##7F27931.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2F5391
Tritanopia (blue-blind)
#7F3C5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7f2793;
/* rgb */ color: rgb(127, 39, 147);
/* oklch */ color: oklch(45.5% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#a86ab3',
    500: '#7f2793',
    950: '#000000',
  },
}
SCSS
$custom: #7f2793;
$custom-light: #a86ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2793",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 288.889,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.17836,
    "h": 319.5
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#7F2793
secondary
#6DBA5C
accent
#E14763
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2793

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

Preview Lab → · Contrast checker → · Palette generator →

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