#7E2585#7E2585

#7E2585 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 324.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7E2585
RGBrgb(126, 37, 133)
HSLhsl(296, 56%, 33%)
HSVhsv(296, 72%, 52%)
CMYKcmyk(5.3%, 72.2%, 0%, 47.8%)
CIE-LABlab(32.82, 50.45, -34.79)
CIE-LCHlch(32.82, 61.29, 325.41°)
OKLaboklab(44.27% 0.1372 -0.0968)
OKLCHoklch(44.27% 0.168 324.8)
XYZxyz(13.4991, 7.4531, 22.9133)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2585 #2C8525
analogous
#4E2585 #7E2585 #85255C
triadic
#7E2585 #857E25 #25857E
tetradic
#7E2585 #854E25 #2C8525 #255C85
square
#7E2585 #854E25 #2C8525 #255C85
split-complementary
#7E2585 #5C8525 #25854E
monochromatic
#230A25 #511855 #7E2585 #AB32B5 #C755D0

Accessibility & contrast

On white

8.43
#7E2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2585
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2585#FFFFFF#000000##FFFFFF
##7E25851.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4688
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#813552
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2585;
/* rgb */ color: rgb(126, 37, 133);
/* oklch */ color: oklch(44.3% 0.168 324.8);
Tailwind
colors: {
  custom: {
    50: '#a768a9',
    500: '#7e2585',
    950: '#000000',
  },
}
SCSS
$custom: #7e2585;
$custom-light: #a768a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2585",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 295.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.16789,
    "h": 324.8
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#7E2585
secondary
#59B452
accent
#E04853
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2585

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

Preview Lab → · Contrast checker → · Palette generator →

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