#7A1E9E#7A1E9E

#7A1E9E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.196 H 313.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7A1E9E
RGBrgb(122, 30, 158)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 62%)
CMYKcmyk(22.8%, 81%, 0%, 38%)
CIE-LABlab(33.00, 56.96, -49.90)
CIE-LCHlch(33.00, 75.73, 318.78°)
OKLaboklab(44.81% 0.1358 -0.1411)
OKLCHoklch(44.81% 0.196 313.9)
XYZxyz(14.6608, 7.5352, 33.0233)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E9E #429E1E
analogous
#3A1E9E #7A1E9E #9E1E82
triadic
#7A1E9E #9E7A1E #1E9E7A
tetradic
#7A1E9E #9E3A1E #429E1E #1E829E
square
#7A1E9E #9E3A1E #429E1E #1E829E
split-complementary
#7A1E9E #829E1E #1E9E3A
monochromatic
#2B0A37 #52146B #7A1E9E #A228D1 #B957DF

Accessibility & contrast

On white

8.38
#7A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E9E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E9E#FFFFFF#000000##FFFFFF
##7A1E9E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#0F509B
Tritanopia (blue-blind)
#763D5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1e9e;
/* rgb */ color: rgb(122, 30, 158);
/* oklch */ color: oklch(44.8% 0.196 313.9);
Tailwind
colors: {
  custom: {
    50: '#a566bb',
    500: '#7a1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e9e;
$custom-light: #a566bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e9e",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 283.125,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.19583,
    "h": 313.9
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#7A1E9E
secondary
#74C355
accent
#EB3D6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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