#7F2E75#7F2E75

#7F2E75 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.142 H 332.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7F2E75
RGBrgb(127, 46, 117)
HSLhsl(307, 47%, 34%)
HSVhsv(307, 64%, 50%)
CMYKcmyk(0%, 63.8%, 7.9%, 50.2%)
CIE-LABlab(33.46, 44.03, -23.76)
CIE-LCHlch(33.46, 50.03, 331.65°)
OKLaboklab(44.49% 0.1266 -0.0649)
OKLCHoklch(44.49% 0.142 332.8)
XYZxyz(12.9403, 7.7513, 17.6408)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E75 #2E7F38
analogous
#612E7F #7F2E75 #7F2E4D
triadic
#7F2E75 #757F2E #2E757F
tetradic
#7F2E75 #7F612E #2E7F38 #2E4D7F
square
#7F2E75 #7F612E #2E7F38 #2E4D7F
split-complementary
#7F2E75 #4D7F2E #2E7F61
monochromatic
#250D22 #521E4C #7F2E75 #AC3E9E #C661BA

Accessibility & contrast

On white

8.24
#7F2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7F2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E75
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E75#FFFFFF#000000##FFFFFF
##7F2E751.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#84354D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2e75;
/* rgb */ color: rgb(127, 46, 117);
/* oklch */ color: oklch(44.5% 0.142 332.8);
Tailwind
colors: {
  custom: {
    50: '#a76d9d',
    500: '#7f2e75',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e75;
$custom-light: #a76d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e75",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 307.407,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.14228,
    "h": 332.8
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#7F2E75
secondary
#5CAD66
accent
#D66251
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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