#7A2383#7A2383

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

Color values

HEX#7A2383
RGBrgb(122, 35, 131)
HSLhsl(294, 58%, 33%)
HSVhsv(294, 73%, 51%)
CMYKcmyk(6.9%, 73.3%, 0%, 48.6%)
CIE-LABlab(31.76, 49.92, -35.27)
CIE-LCHlch(31.76, 61.12, 324.75°)
OKLaboklab(43.35% 0.1345 -0.0983)
OKLCHoklch(43.35% 0.167 323.8)
XYZxyz(12.7234, 6.9791, 22.1453)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2383 #2C8323
analogous
#4A2383 #7A2383 #83235C
triadic
#7A2383 #837A23 #23837A
tetradic
#7A2383 #834A23 #2C8323 #235C83
square
#7A2383 #834A23 #2C8323 #235C83
split-complementary
#7A2383 #5C8323 #23834A
monochromatic
#200922 #4D1653 #7A2383 #A730B3 #C450D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2383#FFFFFF#000000##FFFFFF
##7A23831.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)
#034486
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#7C3451
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2383;
/* rgb */ color: rgb(122, 35, 131);
/* oklch */ color: oklch(43.3% 0.167 323.8);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7a2383',
    950: '#000000',
  },
}
SCSS
$custom: #7a2383;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2383",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 294.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43346,
    "c": 0.16663,
    "h": 323.8
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#7A2383
secondary
#57B44E
accent
#E14755
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2383

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

Preview Lab → · Contrast checker → · Palette generator →

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