#7F247D#7F247D

#7F247D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.163 H 328.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7F247D
RGBrgb(127, 36, 125)
HSLhsl(301, 56%, 32%)
HSVhsv(301, 72%, 50%)
CMYKcmyk(0%, 71.7%, 1.6%, 50.2%)
CIE-LABlab(32.38, 49.63, -30.48)
CIE-LCHlch(32.38, 58.25, 328.45°)
OKLaboklab(43.84% 0.1394 -0.0842)
OKLCHoklch(43.84% 0.163 328.9)
XYZxyz(13.0848, 7.2554, 20.1093)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247D #247F26
analogous
#54247F #7F247D #7F2450
triadic
#7F247D #7D7F24 #247D7F
tetradic
#7F247D #7F5424 #247F26 #24507F
square
#7F247D #7F5424 #247F26 #24507F
split-complementary
#7F247D #507F24 #247F54
monochromatic
#20091F #4F164E #7F247D #AF32AC #CD50CB

Accessibility & contrast

On white

8.57
#7F247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F247D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F247D#FFFFFF#000000##FFFFFF
##7F247D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184480
Deuteranopia (green-blind)
#3D507B
Tritanopia (blue-blind)
#83304E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247d;
/* rgb */ color: rgb(127, 36, 125);
/* oklch */ color: oklch(43.8% 0.163 328.9);
Tailwind
colors: {
  custom: {
    50: '#a768a3',
    500: '#7f247d',
    950: '#000000',
  },
}
SCSS
$custom: #7f247d;
$custom-light: #a768a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247d",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 301.319,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.16284,
    "h": 328.9
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#7F247D
secondary
#4EB150
accent
#DF4C49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F247D

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

Preview Lab → · Contrast checker → · Palette generator →

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