#7F2384#7F2384

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

Color values

HEX#7F2384
RGBrgb(127, 35, 132)
HSLhsl(297, 58%, 33%)
HSVhsv(297, 73%, 52%)
CMYKcmyk(3.8%, 73.5%, 0%, 48.2%)
CIE-LABlab(32.66, 51.26, -34.41)
CIE-LCHlch(32.66, 61.74, 326.12°)
OKLaboklab(44.17% 0.1405 -0.0956)
OKLCHoklch(44.17% 0.17 325.7)
XYZxyz(13.5180, 7.3809, 22.5380)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2384 #288423
analogous
#4E2384 #7F2384 #842359
triadic
#7F2384 #847F23 #23847F
tetradic
#7F2384 #844E23 #288423 #235984
square
#7F2384 #844E23 #288423 #235984
split-complementary
#7F2384 #598423 #23844E
monochromatic
#220923 #501654 #7F2384 #AE30B4 #CA51D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2384#FFFFFF#000000##FFFFFF
##7F23841.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)
#094687
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#823351
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2384;
/* rgb */ color: rgb(127, 35, 132);
/* oklch */ color: oklch(44.2% 0.170 325.7);
Tailwind
colors: {
  custom: {
    50: '#a768a8',
    500: '#7f2384',
    950: '#000000',
  },
}
SCSS
$custom: #7f2384;
$custom-light: #a768a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2384",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 296.907,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.16993,
    "h": 325.7
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#7F2384
secondary
#54B44E
accent
#E1464E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F2384

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

Preview Lab → · Contrast checker → · Palette generator →

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