#7F2088#7F2088

#7F2088 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.177 H 324.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7F2088
RGBrgb(127, 32, 136)
HSLhsl(295, 62%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(6.6%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.53, 53.05, -37.10)
CIE-LCHlch(32.53, 64.73, 325.03°)
OKLaboklab(44.16% 0.1432 -0.1035)
OKLCHoklch(44.16% 0.177 324.2)
XYZxyz(13.7125, 7.3235, 23.9791)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2088 #298820
analogous
#4B2088 #7F2088 #88205D
triadic
#7F2088 #887F20 #20887F
tetradic
#7F2088 #884B20 #298820 #205D88
square
#7F2088 #884B20 #298820 #205D88
split-complementary
#7F2088 #5D8820 #20884B
monochromatic
#220925 #511456 #7F2088 #AD2CBA #C94DD5

Accessibility & contrast

On white

8.52
#7F2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2088
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2088#FFFFFF#000000##FFFFFF
##7F20881.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#345086
Tritanopia (blue-blind)
#813353
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2088;
/* rgb */ color: rgb(127, 32, 136);
/* oklch */ color: oklch(44.2% 0.177 324.2);
Tailwind
colors: {
  custom: {
    50: '#a867ab',
    500: '#7f2088',
    950: '#000000',
  },
}
SCSS
$custom: #7f2088;
$custom-light: #a867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2088",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 294.808,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.1767,
    "h": 324.2
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#7F2088
secondary
#55B84C
accent
#E54351
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2088

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

Preview Lab → · Contrast checker → · Palette generator →

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