#7F2C75#7F2C75

#7F2C75 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.145 H 332.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7F2C75
RGBrgb(127, 44, 117)
HSLhsl(307, 49%, 34%)
HSVhsv(307, 65%, 50%)
CMYKcmyk(0%, 65.4%, 7.9%, 50.2%)
CIE-LABlab(33.13, 44.93, -24.27)
CIE-LCHlch(33.13, 51.07, 331.63°)
OKLaboklab(44.25% 0.1292 -0.0664)
OKLCHoklch(44.25% 0.145 332.8)
XYZxyz(12.8640, 7.5987, 17.6153)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C75 #2C7F36
analogous
#5F2C7F #7F2C75 #7F2C4B
triadic
#7F2C75 #757F2C #2C757F
tetradic
#7F2C75 #7F5F2C #2C7F36 #2C4B7F
square
#7F2C75 #7F5F2C #2C7F36 #2C4B7F
split-complementary
#7F2C75 #4B7F2C #2C7F5F
monochromatic
#240D21 #521C4B #7F2C75 #AC3C9F #C75EBB

Accessibility & contrast

On white

8.33
#7F2C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C75
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C75#FFFFFF#000000##FFFFFF
##7F2C751.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#85334C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2c75;
/* rgb */ color: rgb(127, 44, 117);
/* oklch */ color: oklch(44.2% 0.145 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76b9d',
    500: '#7f2c75',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c75;
$custom-light: #a76b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c75",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 307.229,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.14526,
    "h": 332.8
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#7F2C75
secondary
#59AD64
accent
#D86050
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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