#7E2384#7E2384

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

Color values

HEX#7E2384
RGBrgb(126, 35, 132)
HSLhsl(296, 58%, 33%)
HSVhsv(296, 73%, 52%)
CMYKcmyk(4.5%, 73.5%, 0%, 48.2%)
CIE-LABlab(32.49, 51.03, -34.69)
CIE-LCHlch(32.49, 61.70, 325.79°)
OKLaboklab(44.02% 0.1393 -0.0965)
OKLCHoklch(44.02% 0.169 325.3)
XYZxyz(13.3698, 7.3045, 22.5310)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2384 #298423
analogous
#4E2384 #7E2384 #842359
triadic
#7E2384 #847E23 #23847E
tetradic
#7E2384 #844E23 #298423 #235984
square
#7E2384 #844E23 #298423 #235984
split-complementary
#7E2384 #598423 #23844E
monochromatic
#220923 #501654 #7E2384 #AC30B4 #C951D1

Accessibility & contrast

On white

8.53
#7E2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2384
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2384#FFFFFF#000000##FFFFFF
##7E23841.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2384;
/* rgb */ color: rgb(126, 35, 132);
/* oklch */ color: oklch(44.0% 0.169 325.3);
Tailwind
colors: {
  custom: {
    50: '#a768a8',
    500: '#7e2384',
    950: '#000000',
  },
}
SCSS
$custom: #7e2384;
$custom-light: #a768a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2384",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 296.289,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4402,
    "c": 0.16944,
    "h": 325.3
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#7E2384
secondary
#55B44E
accent
#E14650
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2384

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

Preview Lab → · Contrast checker → · Palette generator →

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