#7A2893#7A2893

#7A2893 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.175 H 317.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7A2893
RGBrgb(122, 40, 147)
HSLhsl(286, 57%, 37%)
HSVhsv(286, 73%, 58%)
CMYKcmyk(17%, 72.8%, 0%, 42.4%)
CIE-LABlab(33.48, 51.09, -42.41)
CIE-LCHlch(33.48, 66.39, 320.31°)
OKLaboklab(44.91% 0.1283 -0.1192)
OKLCHoklch(44.91% 0.175 317.1)
XYZxyz(14.0505, 7.7623, 28.3563)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2893 #419328
analogous
#452893 #7A2893 #932877
triadic
#7A2893 #937A28 #28937A
tetradic
#7A2893 #934528 #419328 #287793
square
#7A2893 #934528 #419328 #287793
split-complementary
#7A2893 #779328 #289345
monochromatic
#2A0E33 #521B63 #7A2893 #A235C3 #B961D4

Accessibility & contrast

On white

8.23
#7A2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2893
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2893#FFFFFF#000000##FFFFFF
##7A28931.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#793E5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2893;
/* rgb */ color: rgb(122, 40, 147);
/* oklch */ color: oklch(44.9% 0.175 317.1);
Tailwind
colors: {
  custom: {
    50: '#a46ab3',
    500: '#7a2893',
    950: '#000000',
  },
}
SCSS
$custom: #7a2893;
$custom-light: #a46ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2893",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 285.981,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44907,
    "c": 0.17509,
    "h": 317.1
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#7A2893
secondary
#73BA5D
accent
#E0476B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2893

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

Preview Lab → · Contrast checker → · Palette generator →

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