#7E2595#7E2595

#7E2595 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.182 H 318.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7E2595
RGBrgb(126, 37, 149)
HSLhsl(288, 60%, 36%)
HSVhsv(288, 75%, 58%)
CMYKcmyk(15.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.84, 53.52, -43.03)
CIE-LCHlch(33.84, 68.67, 321.20°)
OKLaboklab(45.33% 0.1362 -0.1209)
OKLCHoklch(45.33% 0.182 318.4)
XYZxyz(14.6898, 7.9294, 29.1847)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2595 #3C9525
analogous
#462595 #7E2595 #952574
triadic
#7E2595 #957E25 #25957E
tetradic
#7E2595 #954625 #3C9525 #257495
square
#7E2595 #954625 #3C9525 #257495
split-complementary
#7E2595 #749525 #259546
monochromatic
#2B0D33 #551964 #7E2595 #A731C6 #BE5ED7

Accessibility & contrast

On white

8.12
#7E2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2595
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2595#FFFFFF#000000##FFFFFF
##7E25951.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#7D3C5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e2595;
/* rgb */ color: rgb(126, 37, 149);
/* oklch */ color: oklch(45.3% 0.182 318.4);
Tailwind
colors: {
  custom: {
    50: '#a769b5',
    500: '#7e2595',
    950: '#000000',
  },
}
SCSS
$custom: #7e2595;
$custom-light: #a769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2595",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 287.679,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.18207,
    "h": 318.4
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#7E2595
secondary
#6EBC5A
accent
#E34465
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7E2595

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

Preview Lab → · Contrast checker → · Palette generator →

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