#7F2389#7F2389

#7F2389 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 323.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7F2389
RGBrgb(127, 35, 137)
HSLhsl(294, 59%, 34%)
HSVhsv(294, 74%, 54%)
CMYKcmyk(7.3%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.96, 52.17, -37.03)
CIE-LCHlch(32.96, 63.98, 324.63°)
OKLaboklab(44.49% 0.1403 -0.1033)
OKLCHoklch(44.49% 0.174 323.6)
XYZxyz(13.8684, 7.5211, 24.3833)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2389 #2D8923
analogous
#4C2389 #7F2389 #892360
triadic
#7F2389 #897F23 #23897F
tetradic
#7F2389 #894C23 #2D8923 #236089
square
#7F2389 #894C23 #2D8923 #236089
split-complementary
#7F2389 #608923 #23894C
monochromatic
#250A28 #521758 #7F2389 #AC2FBA #C753D3

Accessibility & contrast

On white

8.39
#7F2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7F2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2389
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2389#FFFFFF#000000##FFFFFF
##7F23891.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#813554
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2389;
/* rgb */ color: rgb(127, 35, 137);
/* oklch */ color: oklch(44.5% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#a768ac',
    500: '#7f2389',
    950: '#000000',
  },
}
SCSS
$custom: #7f2389;
$custom-light: #a768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2389",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 294.118,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.17421,
    "h": 323.6
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#7F2389
secondary
#5BB751
accent
#E24555
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2389

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

Preview Lab → · Contrast checker → · Palette generator →

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