#7A2285#7A2285

#7A2285 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 323.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7A2285
RGBrgb(122, 34, 133)
HSLhsl(293, 59%, 33%)
HSVhsv(293, 74%, 52%)
CMYKcmyk(8.3%, 74.4%, 0%, 47.8%)
CIE-LABlab(31.75, 50.67, -36.53)
CIE-LCHlch(31.75, 62.47, 324.21°)
OKLaboklab(43.38% 0.1355 -0.102)
OKLCHoklch(43.38% 0.17 323)
XYZxyz(12.8313, 6.9758, 22.8564)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2285 #2D8522
analogous
#482285 #7A2285 #85225F
triadic
#7A2285 #857A22 #22857A
tetradic
#7A2285 #854822 #2D8522 #225F85
square
#7A2285 #854822 #2D8522 #225F85
split-complementary
#7A2285 #5F8522 #228548
monochromatic
#210924 #4D1654 #7A2285 #A72EB6 #C44FD2

Accessibility & contrast

On white

8.77
#7A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7A2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2285
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2285#FFFFFF#000000##FFFFFF
##7A22851.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#7C3451
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2285;
/* rgb */ color: rgb(122, 34, 133);
/* oklch */ color: oklch(43.4% 0.170 323.0);
Tailwind
colors: {
  custom: {
    50: '#a467a9',
    500: '#7a2285',
    950: '#000000',
  },
}
SCSS
$custom: #7a2285;
$custom-light: #a467a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2285",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 293.333,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.16957,
    "h": 323
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#7A2285
secondary
#59B64D
accent
#E24557
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2285

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

Preview Lab → · Contrast checker → · Palette generator →

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