#7F2689#7F2689

#7F2689 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.171 H 323.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7F2689
RGBrgb(127, 38, 137)
HSLhsl(294, 57%, 34%)
HSVhsv(294, 72%, 54%)
CMYKcmyk(7.3%, 72.3%, 0%, 46.3%)
CIE-LABlab(33.36, 51.05, -36.40)
CIE-LCHlch(33.36, 62.69, 324.51°)
OKLaboklab(44.77% 0.1372 -0.1014)
OKLCHoklch(44.77% 0.171 323.5)
XYZxyz(13.9605, 7.7052, 24.4140)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2689 #308926
analogous
#4E2689 #7F2689 #892662
triadic
#7F2689 #897F26 #26897F
tetradic
#7F2689 #894E26 #308926 #266289
square
#7F2689 #894E26 #308926 #266289
split-complementary
#7F2689 #628926 #26894E
monochromatic
#260B29 #531959 #7F2689 #AB33B9 #C559D1

Accessibility & contrast

On white

8.27
#7F2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7F2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2689
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2689#FFFFFF#000000##FFFFFF
##7F26891.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488C
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#813755
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2689;
/* rgb */ color: rgb(127, 38, 137);
/* oklch */ color: oklch(44.8% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#a769ac',
    500: '#7f2689',
    950: '#000000',
  },
}
SCSS
$custom: #7f2689;
$custom-light: #a769ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2689",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 293.939,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.17064,
    "h": 323.5
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#7F2689
secondary
#5FB655
accent
#E04857
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2689

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

Preview Lab → · Contrast checker → · Palette generator →

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