#7F2089#7F2089

#7F2089 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.178 H 323.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#7F2089
RGBrgb(127, 32, 137)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 77%, 54%)
CMYKcmyk(7.3%, 76.6%, 0%, 46.3%)
CIE-LABlab(32.60, 53.23, -37.62)
CIE-LCHlch(32.60, 65.18, 324.75°)
OKLaboklab(44.23% 0.1432 -0.105)
OKLCHoklch(44.23% 0.178 323.8)
XYZxyz(13.7839, 7.3520, 24.3551)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2089 #2A8920
analogous
#4A2089 #7F2089 #89205E
triadic
#7F2089 #897F20 #20897F
tetradic
#7F2089 #894A20 #2A8920 #205E89
square
#7F2089 #894A20 #2A8920 #205E89
split-complementary
#7F2089 #5E8920 #20894A
monochromatic
#230926 #511457 #7F2089 #AD2CBB #C94ED6

Accessibility & contrast

On white

8.50
#7F2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7F2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2089
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2089#FFFFFF#000000##FFFFFF
##7F20891.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#813453
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2089;
/* rgb */ color: rgb(127, 32, 137);
/* oklch */ color: oklch(44.2% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a867ac',
    500: '#7f2089',
    950: '#000000',
  },
}
SCSS
$custom: #7f2089;
$custom-light: #a867ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2089",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 294.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.17754,
    "h": 323.8
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#7F2089
secondary
#57B94C
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2089

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

Preview Lab → · Contrast checker → · Palette generator →

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