#7A209F#7A209F

#7A209F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.195 H 313.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7A209F
RGBrgb(122, 32, 159)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 80%, 62%)
CMYKcmyk(23.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(33.30, 56.51, -50.02)
CIE-LCHlch(33.30, 75.47, 318.49°)
OKLaboklab(45.04% 0.134 -0.1415)
OKLCHoklch(45.04% 0.195 313.4)
XYZxyz(14.7995, 7.6743, 33.4959)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209F #459F20
analogous
#3B209F #7A209F #9F2084
triadic
#7A209F #9F7A20 #209F7A
tetradic
#7A209F #9F3B20 #459F20 #20849F
square
#7A209F #9F3B20 #459F20 #20849F
split-complementary
#7A209F #849F20 #209F3B
monochromatic
#2C0B39 #53166C #7A209F #A12AD2 #B85BDE

Accessibility & contrast

On white

8.28
#7A209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A209F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209F#FFFFFF#000000##FFFFFF
##7A209F1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#763F60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a209f;
/* rgb */ color: rgb(122, 32, 159);
/* oklch */ color: oklch(45.0% 0.195 313.4);
Tailwind
colors: {
  custom: {
    50: '#a567bc',
    500: '#7a209f',
    950: '#000000',
  },
}
SCSS
$custom: #7a209f;
$custom-light: #a567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209f",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 282.52,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.19485,
    "h": 313.4
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#7A209F
secondary
#77C259
accent
#E93E70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A209F

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

Preview Lab → · Contrast checker → · Palette generator →

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