#7A2697#7A2697

#7A2697 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.181 H 315.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7A2697
RGBrgb(122, 38, 151)
HSLhsl(285, 60%, 37%)
HSVhsv(285, 75%, 59%)
CMYKcmyk(19.2%, 74.8%, 0%, 40.8%)
CIE-LABlab(33.48, 52.70, -44.86)
CIE-LCHlch(33.48, 69.21, 319.59°)
OKLaboklab(44.99% 0.1299 -0.1264)
OKLCHoklch(44.99% 0.181 315.8)
XYZxyz(14.3042, 7.7587, 30.0163)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2697 #439726
analogous
#422697 #7A2697 #97267B
triadic
#7A2697 #977A26 #26977A
tetradic
#7A2697 #974226 #439726 #267B97
square
#7A2697 #974226 #439726 #267B97
split-complementary
#7A2697 #7B9726 #269742
monochromatic
#2B0D35 #521A66 #7A2697 #A232C8 #B960D7

Accessibility & contrast

On white

8.23
#7A2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2697
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2697#FFFFFF#000000##FFFFFF
##7A26971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#245195
Tritanopia (blue-blind)
#783E5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2697;
/* rgb */ color: rgb(122, 38, 151);
/* oklch */ color: oklch(45.0% 0.181 315.8);
Tailwind
colors: {
  custom: {
    50: '#a469b6',
    500: '#7a2697',
    950: '#000000',
  },
}
SCSS
$custom: #7a2697;
$custom-light: #a469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2697",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 284.602,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44988,
    "c": 0.18121,
    "h": 315.8
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#7A2697
secondary
#75BC5C
accent
#E3456D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2697

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

Preview Lab → · Contrast checker → · Palette generator →

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