#7E2385#7E2385

#7E2385 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.170 H 324.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7E2385
RGBrgb(126, 35, 133)
HSLhsl(296, 58%, 33%)
HSVhsv(296, 74%, 52%)
CMYKcmyk(5.3%, 73.7%, 0%, 47.8%)
CIE-LABlab(32.55, 51.21, -35.22)
CIE-LCHlch(32.55, 62.15, 325.48°)
OKLaboklab(44.08% 0.1393 -0.098)
OKLCHoklch(44.08% 0.17 324.9)
XYZxyz(13.4385, 7.3320, 22.8931)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2385 #2A8523
analogous
#4D2385 #7E2385 #85235B
triadic
#7E2385 #857E23 #23857E
tetradic
#7E2385 #854D23 #2A8523 #235B85
square
#7E2385 #854D23 #2A8523 #235B85
split-complementary
#7E2385 #5B8523 #23854D
monochromatic
#220924 #501655 #7E2385 #AC30B5 #C851D1

Accessibility & contrast

On white

8.52
#7E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2385
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2385#FFFFFF#000000##FFFFFF
##7E23851.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2385;
/* rgb */ color: rgb(126, 35, 133);
/* oklch */ color: oklch(44.1% 0.170 324.9);
Tailwind
colors: {
  custom: {
    50: '#a768a9',
    500: '#7e2385',
    950: '#000000',
  },
}
SCSS
$custom: #7e2385;
$custom-light: #a768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2385",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 295.714,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.17029,
    "h": 324.9
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#7E2385
secondary
#56B54F
accent
#E24651
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2385

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

Preview Lab → · Contrast checker → · Palette generator →

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