#7F4E89#7F4E89

#7F4E89 is a mid, moderate purple. Relative luminance 0.118; OKLCH L 50.3% C 0.107 H 320.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7F4E89
RGBrgb(127, 78, 137)
HSLhsl(290, 27%, 42%)
HSVhsv(290, 43%, 54%)
CMYKcmyk(7.3%, 43.1%, 0%, 46.3%)
CIE-LABlab(40.84, 31.01, -24.61)
CIE-LCHlch(40.84, 39.59, 321.57°)
OKLaboklab(50.27% 0.0825 -0.0677)
OKLCHoklch(50.27% 0.107 320.6)
XYZxyz(15.9916, 11.7675, 25.0910)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4E89 #58894E
analogous
#624E89 #7F4E89 #894E75
triadic
#7F4E89 #897F4E #4E897F
tetradic
#7F4E89 #89624E #58894E #4E7589
square
#7F4E89 #89624E #58894E #4E7589
split-complementary
#7F4E89 #75894E #4E8962
monochromatic
#37223B #5B3862 #7F4E89 #9F6AAA #B891C0

Accessibility & contrast

On white

6.26
#7F4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7F4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4E89
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4E89#FFFFFF#000000##FFFFFF
##7F4E891.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8B
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#805565
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f4e89;
/* rgb */ color: rgb(127, 78, 137);
/* oklch */ color: oklch(50.3% 0.107 320.6);
Tailwind
colors: {
  custom: {
    50: '#a581ab',
    500: '#7f4e89',
    950: '#000000',
  },
}
SCSS
$custom: #7f4e89;
$custom-light: #a581ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4e89",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 289.831,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.1067,
    "h": 320.6
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#7F4E89
secondary
#8CAD86
accent
#C46474
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #7F4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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