#7A208B#7A208B

#7A208B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.177 H 320.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7A208B
RGBrgb(122, 32, 139)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 55%)
CMYKcmyk(12.2%, 77%, 0%, 45.5%)
CIE-LABlab(31.89, 52.53, -40.04)
CIE-LCHlch(31.89, 66.05, 322.69°)
OKLaboklab(43.6% 0.137 -0.1122)
OKLCHoklch(43.6% 0.177 320.7)
XYZxyz(13.2022, 7.0354, 25.0837)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208B #318B20
analogous
#44208B #7A208B #8B2066
triadic
#7A208B #8B7A20 #208B7A
tetradic
#7A208B #8B4420 #318B20 #20668B
square
#7A208B #8B4420 #318B20 #20668B
split-complementary
#7A208B #668B20 #208B44
monochromatic
#230928 #4E1559 #7A208B #A62BBD #C14FD6

Accessibility & contrast

On white

8.72
#7A208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A208B
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208B#FFFFFF#000000##FFFFFF
##7A208B1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#7B3654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a208b;
/* rgb */ color: rgb(122, 32, 139);
/* oklch */ color: oklch(43.6% 0.177 320.7);
Tailwind
colors: {
  custom: {
    50: '#a466ad',
    500: '#7a208b',
    950: '#000000',
  },
}
SCSS
$custom: #7a208b;
$custom-light: #a466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208b",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 290.467,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.17707,
    "h": 320.7
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#7A208B
secondary
#5EBA4D
accent
#E6425C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A208B

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

Preview Lab → · Contrast checker → · Palette generator →

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