#7F2376#7F2376

#7F2376 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.158 H 332.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7F2376
RGBrgb(127, 35, 118)
HSLhsl(306, 57%, 32%)
HSVhsv(306, 72%, 50%)
CMYKcmyk(0%, 72.4%, 7.1%, 50.2%)
CIE-LABlab(31.86, 48.81, -26.90)
CIE-LCHlch(31.86, 55.73, 331.14°)
OKLaboklab(43.34% 0.1401 -0.0739)
OKLCHoklch(43.34% 0.158 332.2)
XYZxyz(12.6235, 7.0231, 17.8268)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2376 #237F2C
analogous
#5A237F #7F2376 #7F2348
triadic
#7F2376 #767F23 #23767F
tetradic
#7F2376 #7F5A23 #237F2C #23487F
square
#7F2376 #7F5A23 #237F2C #23487F
split-complementary
#7F2376 #487F23 #237F5A
monochromatic
#1F091D #4F1649 #7F2376 #AF30A3 #CE4EC2

Accessibility & contrast

On white

8.73
#7F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2376
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2376#FFFFFF#000000##FFFFFF
##7F23761.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#405074
Tritanopia (blue-blind)
#852D4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2376;
/* rgb */ color: rgb(127, 35, 118);
/* oklch */ color: oklch(43.3% 0.158 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7679e',
    500: '#7f2376',
    950: '#000000',
  },
}
SCSS
$custom: #7f2376;
$custom-light: #a7679e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2376",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 305.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.15837,
    "h": 332.2
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#7F2376
secondary
#4CB156
accent
#E05748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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