#7A2095#7A2095

#7A2095 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.186 H 316.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7A2095
RGBrgb(122, 32, 149)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(18.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(32.57, 54.49, -45.10)
CIE-LCHlch(32.57, 70.73, 320.39°)
OKLaboklab(44.3% 0.1357 -0.127)
OKLCHoklch(44.3% 0.186 316.9)
XYZxyz(13.9666, 7.3411, 29.1092)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2095 #3B9520
analogous
#3F2095 #7A2095 #952075
triadic
#7A2095 #957A20 #20957A
tetradic
#7A2095 #953F20 #3B9520 #207595
square
#7A2095 #953F20 #3B9520 #207595
split-complementary
#7A2095 #759520 #20953F
monochromatic
#270A30 #511563 #7A2095 #A32BC7 #BC55DA

Accessibility & contrast

On white

8.51
#7A2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2095
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2095#FFFFFF#000000##FFFFFF
##7A20951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#214F92
Tritanopia (blue-blind)
#793A5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2095;
/* rgb */ color: rgb(122, 32, 149);
/* oklch */ color: oklch(44.3% 0.186 316.9);
Tailwind
colors: {
  custom: {
    50: '#a466b5',
    500: '#7a2095',
    950: '#000000',
  },
}
SCSS
$custom: #7a2095;
$custom-light: #a466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2095",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 286.154,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.18589,
    "h": 316.9
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#7A2095
secondary
#6CBE53
accent
#E84067
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2095

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

Preview Lab → · Contrast checker → · Palette generator →

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