#7E2485#7E2485

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

Color values

HEX#7E2485
RGBrgb(126, 36, 133)
HSLhsl(296, 57%, 33%)
HSVhsv(296, 73%, 52%)
CMYKcmyk(5.3%, 72.9%, 0%, 47.8%)
CIE-LABlab(32.68, 50.83, -35.01)
CIE-LCHlch(32.68, 61.72, 325.45°)
OKLaboklab(44.18% 0.1382 -0.0974)
OKLCHoklch(44.18% 0.169 324.8)
XYZxyz(13.4684, 7.3917, 22.9031)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2485 #2B8524
analogous
#4D2485 #7E2485 #85245B
triadic
#7E2485 #857E24 #24857E
tetradic
#7E2485 #854D24 #2B8524 #245B85
square
#7E2485 #854D24 #2B8524 #245B85
split-complementary
#7E2485 #5B8524 #24854D
monochromatic
#230A25 #501755 #7E2485 #AC31B5 #C753D0

Accessibility & contrast

On white

8.47
#7E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2485
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2485#FFFFFF#000000##FFFFFF
##7E24851.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#813452
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2485;
/* rgb */ color: rgb(126, 36, 133);
/* oklch */ color: oklch(44.2% 0.169 324.8);
Tailwind
colors: {
  custom: {
    50: '#a768a9',
    500: '#7e2485',
    950: '#000000',
  },
}
SCSS
$custom: #7e2485;
$custom-light: #a768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2485",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 295.67,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.1691,
    "h": 324.8
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#7E2485
secondary
#58B450
accent
#E14752
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2485

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

Preview Lab → · Contrast checker → · Palette generator →

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