#7F2087#7F2087

#7F2087 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.176 H 324.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7F2087
RGBrgb(127, 32, 135)
HSLhsl(295, 62%, 33%)
HSVhsv(295, 76%, 53%)
CMYKcmyk(5.9%, 76.3%, 0%, 47.1%)
CIE-LABlab(32.47, 52.87, -36.58)
CIE-LCHlch(32.47, 64.29, 325.32°)
OKLaboklab(44.1% 0.1433 -0.1019)
OKLCHoklch(44.1% 0.176 324.6)
XYZxyz(13.6417, 7.2952, 23.6066)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2087 #288720
analogous
#4C2087 #7F2087 #87205B
triadic
#7F2087 #877F20 #20877F
tetradic
#7F2087 #874C20 #288720 #205B87
square
#7F2087 #874C20 #288720 #205B87
split-complementary
#7F2087 #5B8720 #20874C
monochromatic
#220924 #501456 #7F2087 #AE2CB8 #CA4DD5

Accessibility & contrast

On white

8.54
#7F2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2087
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2087#FFFFFF#000000##FFFFFF
##7F20871.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#823352
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2087;
/* rgb */ color: rgb(127, 32, 135);
/* oklch */ color: oklch(44.1% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a867aa',
    500: '#7f2087',
    950: '#000000',
  },
}
SCSS
$custom: #7f2087;
$custom-light: #a867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2087",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 295.34,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.17586,
    "h": 324.6
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#7F2087
secondary
#54B84B
accent
#E54350
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2087

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

Preview Lab → · Contrast checker → · Palette generator →

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