#7A2088#7A2088

#7A2088 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.174 H 321.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7A2088
RGBrgb(122, 32, 136)
HSLhsl(292, 62%, 33%)
HSVhsv(292, 76%, 53%)
CMYKcmyk(10.3%, 76.5%, 0%, 46.7%)
CIE-LABlab(31.69, 51.96, -38.50)
CIE-LCHlch(31.69, 64.67, 323.47°)
OKLaboklab(43.4% 0.1373 -0.1077)
OKLCHoklch(43.4% 0.174 321.9)
XYZxyz(12.9860, 6.9489, 23.9450)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2088 #2E8820
analogous
#462088 #7A2088 #882062
triadic
#7A2088 #887A20 #20887A
tetradic
#7A2088 #884620 #2E8820 #206288
square
#7A2088 #884620 #2E8820 #206288
split-complementary
#7A2088 #628820 #208846
monochromatic
#210925 #4E1456 #7A2088 #A62CBA #C34DD5

Accessibility & contrast

On white

8.79
#7A2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2088
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2088#FFFFFF#000000##FFFFFF
##7A20881.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#7B3453
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2088;
/* rgb */ color: rgb(122, 32, 136);
/* oklch */ color: oklch(43.4% 0.174 321.9);
Tailwind
colors: {
  custom: {
    50: '#a466ab',
    500: '#7a2088',
    950: '#000000',
  },
}
SCSS
$custom: #7a2088;
$custom-light: #a466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2088",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 291.923,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.17446,
    "h": 321.9
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#7A2088
secondary
#5AB84C
accent
#E54359
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2088

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

Preview Lab → · Contrast checker → · Palette generator →

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