#7F247B#7F247B

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

Color values

HEX#7F247B
RGBrgb(127, 36, 123)
HSLhsl(303, 56%, 32%)
HSVhsv(303, 72%, 50%)
CMYKcmyk(0%, 71.7%, 3.1%, 50.2%)
CIE-LABlab(32.27, 49.28, -29.40)
CIE-LCHlch(32.27, 57.39, 329.18°)
OKLaboklab(43.73% 0.1393 -0.0811)
OKLCHoklch(43.73% 0.161 329.8)
XYZxyz(12.9583, 7.2048, 19.4432)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F247B #247F28
analogous
#56247F #7F247B #7F244E
triadic
#7F247B #7B7F24 #247B7F
tetradic
#7F247B #7F5624 #247F28 #244E7F
square
#7F247B #7F5624 #247F28 #244E7F
split-complementary
#7F247B #4E7F24 #247F56
monochromatic
#20091F #4F164D #7F247B #AF32A9 #CD50C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F247B#FFFFFF#000000##FFFFFF
##7F247B1.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)
#1A447D
Deuteranopia (green-blind)
#3E5079
Tritanopia (blue-blind)
#84304D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f247b;
/* rgb */ color: rgb(127, 36, 123);
/* oklch */ color: oklch(43.7% 0.161 329.8);
Tailwind
colors: {
  custom: {
    50: '#a768a1',
    500: '#7f247b',
    950: '#000000',
  },
}
SCSS
$custom: #7f247b;
$custom-light: #a768a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f247b",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 302.637,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.16118,
    "h": 329.8
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#7F247B
secondary
#4EB152
accent
#DF4F49
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F247B

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

Preview Lab → · Contrast checker → · Palette generator →

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