#7E247E#7E247E

#7E247E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.163 H 327.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7E247E
RGBrgb(126, 36, 126)
HSLhsl(300, 56%, 32%)
HSVhsv(300, 71%, 49%)
CMYKcmyk(0%, 71.4%, 0%, 50.6%)
CIE-LABlab(32.27, 49.57, -31.30)
CIE-LCHlch(32.27, 58.62, 327.73°)
OKLaboklab(43.75% 0.1382 -0.0866)
OKLCHoklch(43.75% 0.163 327.9)
XYZxyz(13.0008, 7.2046, 20.4405)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E247E #247E24
analogous
#51247E #7E247E #7E2451
triadic
#7E247E #7E7E24 #247E7E
tetradic
#7E247E #7E5124 #247E24 #24517E
square
#7E247E #7E5124 #247E24 #24517E
split-complementary
#7E247E #517E24 #247E51
monochromatic
#1F091F #4E164E #7E247E #AE32AE #CD50CD

Accessibility & contrast

On white

8.60
#7E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E247E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E247E#FFFFFF#000000##FFFFFF
##7E247E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154481
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#82314E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e247e;
/* rgb */ color: rgb(126, 36, 126);
/* oklch */ color: oklch(43.7% 0.163 327.9);
Tailwind
colors: {
  custom: {
    50: '#a668a4',
    500: '#7e247e',
    950: '#000000',
  },
}
SCSS
$custom: #7e247e;
$custom-light: #a668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e247e",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.16313,
    "h": 327.9
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#7E247E
secondary
#4EB04E
accent
#DF4949
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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