#7F2084#7F2084

#7F2084 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.173 H 325.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7F2084
RGBrgb(127, 32, 132)
HSLhsl(297, 61%, 32%)
HSVhsv(297, 76%, 52%)
CMYKcmyk(3.8%, 75.8%, 0%, 48.2%)
CIE-LABlab(32.28, 52.32, -35.01)
CIE-LCHlch(32.28, 62.96, 326.21°)
OKLaboklab(43.91% 0.1434 -0.0974)
OKLCHoklch(43.91% 0.173 325.8)
XYZxyz(13.4335, 7.2119, 22.5098)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2084 #258420
analogous
#4D2084 #7F2084 #842057
triadic
#7F2084 #847F20 #20847F
tetradic
#7F2084 #844D20 #258420 #205784
square
#7F2084 #844D20 #258420 #205784
split-complementary
#7F2084 #578420 #20844D
monochromatic
#200821 #501453 #7F2084 #AE2CB5 #CD4BD3

Accessibility & contrast

On white

8.60
#7F2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2084
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2084#FFFFFF#000000##FFFFFF
##7F20841.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#823150
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2084;
/* rgb */ color: rgb(127, 32, 132);
/* oklch */ color: oklch(43.9% 0.173 325.8);
Tailwind
colors: {
  custom: {
    50: '#a766a8',
    500: '#7f2084',
    950: '#000000',
  },
}
SCSS
$custom: #7f2084;
$custom-light: #a766a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2084",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 297,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.17335,
    "h": 325.8
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#7F2084
secondary
#4FB64A
accent
#E4444C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2084

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

Preview Lab → · Contrast checker → · Palette generator →

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