#7F2289#7F2289

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

Color values

HEX#7F2289
RGBrgb(127, 34, 137)
HSLhsl(294, 60%, 34%)
HSVhsv(294, 75%, 54%)
CMYKcmyk(7.3%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.84, 52.53, -37.23)
CIE-LCHlch(32.84, 64.39, 324.67°)
OKLaboklab(44.4% 0.1413 -0.1039)
OKLCHoklch(44.4% 0.175 323.7)
XYZxyz(13.8394, 7.4631, 24.3736)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2289 #2C8922
analogous
#4B2289 #7F2289 #89225F
triadic
#7F2289 #897F22 #22897F
tetradic
#7F2289 #894B22 #2C8922 #225F89
square
#7F2289 #894B22 #2C8922 #225F89
split-complementary
#7F2289 #5F8922 #22894B
monochromatic
#240A27 #521658 #7F2289 #AC2EBA #C751D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2289#FFFFFF#000000##FFFFFF
##7F22891.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)
#00468C
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#813554
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2289;
/* rgb */ color: rgb(127, 34, 137);
/* oklch */ color: oklch(44.4% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#a767ac',
    500: '#7f2289',
    950: '#000000',
  },
}
SCSS
$custom: #7f2289;
$custom-light: #a767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2289",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 294.175,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.17535,
    "h": 323.7
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#7F2289
secondary
#59B84F
accent
#E34454
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2289

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

Preview Lab → · Contrast checker → · Palette generator →

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