#7F2595#7F2595

#7F2595 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 318.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7F2595
RGBrgb(127, 37, 149)
HSLhsl(288, 60%, 36%)
HSVhsv(288, 75%, 58%)
CMYKcmyk(14.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(33.99, 53.73, -42.76)
CIE-LCHlch(33.99, 68.67, 321.48°)
OKLaboklab(45.47% 0.1374 -0.1201)
OKLCHoklch(45.47% 0.182 318.9)
XYZxyz(14.8381, 8.0058, 29.1916)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2595 #3B9525
analogous
#472595 #7F2595 #952573
triadic
#7F2595 #957F25 #25957F
tetradic
#7F2595 #954725 #3B9525 #257395
square
#7F2595 #954725 #3B9525 #257395
split-complementary
#7F2595 #739525 #259547
monochromatic
#2B0D33 #551964 #7F2595 #A931C6 #BF5ED7

Accessibility & contrast

On white

8.07
#7F2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7F2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2595
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2595#FFFFFF#000000##FFFFFF
##7F25951.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2595;
/* rgb */ color: rgb(127, 37, 149);
/* oklch */ color: oklch(45.5% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#a869b5',
    500: '#7f2595',
    950: '#000000',
  },
}
SCSS
$custom: #7f2595;
$custom-light: #a869b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2595",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 288.214,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.18248,
    "h": 318.9
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#7F2595
secondary
#6DBC5A
accent
#E34464
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2595

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

Preview Lab → · Contrast checker → · Palette generator →

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