#7F2482#7F2482

#7F2482 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 326.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7F2482
RGBrgb(127, 36, 130)
HSLhsl(298, 57%, 33%)
HSVhsv(298, 72%, 51%)
CMYKcmyk(2.3%, 72.3%, 0%, 49%)
CIE-LABlab(32.67, 50.52, -33.15)
CIE-LCHlch(32.67, 60.43, 326.73°)
OKLaboklab(44.14% 0.1394 -0.092)
OKLCHoklch(44.14% 0.167 326.6)
XYZxyz(13.4123, 7.3864, 21.8340)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2482 #278224
analogous
#502482 #7F2482 #822456
triadic
#7F2482 #827F24 #24827F
tetradic
#7F2482 #825024 #278224 #245682
square
#7F2482 #825024 #278224 #245682
split-complementary
#7F2482 #568224 #248250
monochromatic
#210922 #501752 #7F2482 #AE31B2 #CB51CF

Accessibility & contrast

On white

8.48
#7F2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7F2482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2482
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2482#FFFFFF#000000##FFFFFF
##7F24821.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#833350
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2482;
/* rgb */ color: rgb(127, 36, 130);
/* oklch */ color: oklch(44.1% 0.167 326.6);
Tailwind
colors: {
  custom: {
    50: '#a768a7',
    500: '#7f2482',
    950: '#000000',
  },
}
SCSS
$custom: #7f2482;
$custom-light: #a768a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2482",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 298.085,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.16703,
    "h": 326.6
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#7F2482
secondary
#52B34F
accent
#E0484D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7F2482

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

Preview Lab → · Contrast checker → · Palette generator →

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