#7A2087#7A2087

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

Color values

HEX#7A2087
RGBrgb(122, 32, 135)
HSLhsl(292, 62%, 33%)
HSVhsv(292, 76%, 53%)
CMYKcmyk(9.6%, 76.3%, 0%, 47.1%)
CIE-LABlab(31.63, 51.77, -37.98)
CIE-LCHlch(31.63, 64.21, 323.74°)
OKLaboklab(43.33% 0.1373 -0.1062)
OKLCHoklch(43.33% 0.174 322.3)
XYZxyz(12.9153, 6.9206, 23.5725)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2087 #2D8720
analogous
#462087 #7A2087 #872061
triadic
#7A2087 #877A20 #20877A
tetradic
#7A2087 #874620 #2D8720 #206187
square
#7A2087 #874620 #2D8720 #206187
split-complementary
#7A2087 #618720 #208746
monochromatic
#210924 #4D1456 #7A2087 #A72CB8 #C44DD5

Accessibility & contrast

On white

8.81
#7A2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2087
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2087#FFFFFF#000000##FFFFFF
##7A20871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#7C3452
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2087;
/* rgb */ color: rgb(122, 32, 135);
/* oklch */ color: oklch(43.3% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#a466aa',
    500: '#7a2087',
    950: '#000000',
  },
}
SCSS
$custom: #7a2087;
$custom-light: #a466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2087",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 292.427,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.17359,
    "h": 322.3
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#7A2087
secondary
#59B84B
accent
#E54357
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2087

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

Preview Lab → · Contrast checker → · Palette generator →

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