#7F2184#7F2184

#7F2184 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.172 H 325.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7F2184
RGBrgb(127, 33, 132)
HSLhsl(297, 60%, 32%)
HSVhsv(297, 75%, 52%)
CMYKcmyk(3.8%, 75%, 0%, 48.2%)
CIE-LABlab(32.41, 51.98, -34.82)
CIE-LCHlch(32.41, 62.56, 326.18°)
OKLaboklab(43.99% 0.1425 -0.0968)
OKLCHoklch(43.99% 0.172 325.8)
XYZxyz(13.4608, 7.2666, 22.5189)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2184 #268421
analogous
#4E2184 #7F2184 #842157
triadic
#7F2184 #847F21 #21847F
tetradic
#7F2184 #844E21 #268421 #215784
square
#7F2184 #844E21 #268421 #215784
split-complementary
#7F2184 #578421 #21844E
monochromatic
#210922 #501553 #7F2184 #AE2DB5 #CC4DD2

Accessibility & contrast

On white

8.56
#7F2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2184
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2184#FFFFFF#000000##FFFFFF
##7F21841.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2184;
/* rgb */ color: rgb(127, 33, 132);
/* oklch */ color: oklch(44.0% 0.172 325.8);
Tailwind
colors: {
  custom: {
    50: '#a767a8',
    500: '#7f2184',
    950: '#000000',
  },
}
SCSS
$custom: #7f2184;
$custom-light: #a767a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2184",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 296.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.17224,
    "h": 325.8
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#7F2184
secondary
#51B64B
accent
#E3454D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2184

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

Preview Lab → · Contrast checker → · Palette generator →

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