#7A298D#7A298D

#7A298D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.168 H 319.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7A298D
RGBrgb(122, 41, 141)
HSLhsl(289, 55%, 36%)
HSVhsv(289, 71%, 55%)
CMYKcmyk(13.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(33.24, 49.46, -39.11)
CIE-LCHlch(33.24, 63.05, 321.66°)
OKLaboklab(44.61% 0.1276 -0.1096)
OKLCHoklch(44.61% 0.168 319.4)
XYZxyz(13.6261, 7.6472, 25.9524)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A298D #3C8D29
analogous
#48298D #7A298D #8D296E
triadic
#7A298D #8D7A29 #298D7A
tetradic
#7A298D #8D4829 #3C8D29 #296E8D
square
#7A298D #8D4829 #3C8D29 #296E8D
split-complementary
#7A298D #6E8D29 #298D48
monochromatic
#280D2E #511B5E #7A298D #A337BC #BB60D1

Accessibility & contrast

On white

8.30
#7A298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A298D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A298D#FFFFFF#000000##FFFFFF
##7A298D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#7A3C58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a298d;
/* rgb */ color: rgb(122, 41, 141);
/* oklch */ color: oklch(44.6% 0.168 319.4);
Tailwind
colors: {
  custom: {
    50: '#a46aaf',
    500: '#7a298d',
    950: '#000000',
  },
}
SCSS
$custom: #7a298d;
$custom-light: #a46aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a298d",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 288.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.1682,
    "h": 319.4
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#7A298D
secondary
#6DB65B
accent
#DE4A66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A298D

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

Preview Lab → · Contrast checker → · Palette generator →

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