#7A2E95#7A2E95

#7A2E95 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.169 H 315.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7A2E95
RGBrgb(122, 46, 149)
HSLhsl(284, 53%, 38%)
HSVhsv(284, 69%, 58%)
CMYKcmyk(18.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(34.52, 48.95, -41.96)
CIE-LCHlch(34.52, 64.47, 319.40°)
OKLaboklab(45.69% 0.1215 -0.1179)
OKLCHoklch(45.69% 0.169 315.9)
XYZxyz(14.4270, 8.2620, 29.2627)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E95 #49952E
analogous
#462E95 #7A2E95 #952E7C
triadic
#7A2E95 #957A2E #2E957A
tetradic
#7A2E95 #95462E #49952E #2E7C95
square
#7A2E95 #95462E #49952E #2E7C95
split-complementary
#7A2E95 #7C952E #2E9546
monochromatic
#2D1137 #542066 #7A2E95 #A03DC3 #B76CD2

Accessibility & contrast

On white

7.92
#7A2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7A2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E95
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E95#FFFFFF#000000##FFFFFF
##7A2E951.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#78425E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a2e95;
/* rgb */ color: rgb(122, 46, 149);
/* oklch */ color: oklch(45.7% 0.169 315.9);
Tailwind
colors: {
  custom: {
    50: '#a46db5',
    500: '#7a2e95',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e95;
$custom-light: #a46db5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e95",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 284.272,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.16933,
    "h": 315.9
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#7A2E95
secondary
#7CB966
accent
#DC4C71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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