#7F2A75#7F2A75

#7F2A75 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.148 H 332.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7F2A75
RGBrgb(127, 42, 117)
HSLhsl(307, 50%, 33%)
HSVhsv(307, 67%, 50%)
CMYKcmyk(0%, 66.9%, 7.9%, 50.2%)
CIE-LABlab(32.82, 45.81, -24.76)
CIE-LCHlch(32.82, 52.07, 331.61°)
OKLaboklab(44.02% 0.1318 -0.0678)
OKLCHoklch(44.02% 0.148 332.8)
XYZxyz(12.7913, 7.4533, 17.5911)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A75 #2A7F34
analogous
#5E2A7F #7F2A75 #7F2A4A
triadic
#7F2A75 #757F2A #2A757F
tetradic
#7F2A75 #7F5E2A #2A7F34 #2A4A7F
square
#7F2A75 #7F5E2A #2A7F34 #2A4A7F
split-complementary
#7F2A75 #4A7F2A #2A7F5E
monochromatic
#230C20 #511B4B #7F2A75 #AD399F #C95BBC

Accessibility & contrast

On white

8.43
#7F2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A75
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A75#FFFFFF#000000##FFFFFF
##7F2A751.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274577
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#85314B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2a75;
/* rgb */ color: rgb(127, 42, 117);
/* oklch */ color: oklch(44.0% 0.148 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76a9d',
    500: '#7f2a75',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a75;
$custom-light: #a76a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a75",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 307.059,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.14817,
    "h": 332.8
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#7F2A75
secondary
#57AE61
accent
#DA5E4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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