#7A2283#7A2283

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

Color values

HEX#7A2283
RGBrgb(122, 34, 131)
HSLhsl(294, 59%, 32%)
HSVhsv(294, 74%, 51%)
CMYKcmyk(6.9%, 74%, 0%, 48.6%)
CIE-LABlab(31.63, 50.29, -35.49)
CIE-LCHlch(31.63, 61.55, 324.79°)
OKLaboklab(43.25% 0.1356 -0.0989)
OKLCHoklch(43.25% 0.168 323.9)
XYZxyz(12.6944, 6.9211, 22.1356)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2283 #2B8322
analogous
#4A2283 #7A2283 #83225C
triadic
#7A2283 #837A22 #22837A
tetradic
#7A2283 #834A22 #2B8322 #225C83
square
#7A2283 #834A22 #2B8322 #225C83
split-complementary
#7A2283 #5C8322 #22834A
monochromatic
#1F0922 #4D1552 #7A2283 #A72FB4 #C54ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2283#FFFFFF#000000##FFFFFF
##7A22831.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)
#004486
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#7C3350
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2283;
/* rgb */ color: rgb(122, 34, 131);
/* oklch */ color: oklch(43.3% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7a2283',
    950: '#000000',
  },
}
SCSS
$custom: #7a2283;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2283",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 294.433,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.16782,
    "h": 323.9
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#7A2283
secondary
#56B44C
accent
#E24654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2283

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

Preview Lab → · Contrast checker → · Palette generator →

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