#7A2D83#7A2D83

#7A2D83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.153 H 323.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7A2D83
RGBrgb(122, 45, 131)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(6.9%, 65.6%, 0%, 48.6%)
CIE-LABlab(33.25, 45.73, -32.90)
CIE-LCHlch(33.25, 56.33, 324.27°)
OKLaboklab(44.42% 0.1231 -0.0915)
OKLCHoklch(44.42% 0.153 323.4)
XYZxyz(13.0608, 7.6538, 22.2577)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D83 #36832D
analogous
#4F2D83 #7A2D83 #832D61
triadic
#7A2D83 #837A2D #2D837A
tetradic
#7A2D83 #834F2D #36832D #2D6183
square
#7A2D83 #834F2D #36832D #2D6183
split-complementary
#7A2D83 #61832D #2D834F
monochromatic
#250E28 #501D55 #7A2D83 #A43DB1 #BE62C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2D83#FFFFFF#000000##FFFFFF
##7A2D831.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)
#1B4886
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#7C3A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2d83;
/* rgb */ color: rgb(122, 45, 131);
/* oklch */ color: oklch(44.4% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#a36ca7',
    500: '#7a2d83',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d83;
$custom-light: #a36ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d83",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 293.721,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.15333,
    "h": 323.4
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#7A2D83
secondary
#65AF5C
accent
#D84F5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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