#7A2E90#7A2E90

#7A2E90 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.164 H 317.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7A2E90
RGBrgb(122, 46, 144)
HSLhsl(287, 52%, 37%)
HSVhsv(287, 68%, 56%)
CMYKcmyk(15.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.20, 47.90, -39.41)
CIE-LCHlch(34.20, 62.03, 320.55°)
OKLaboklab(45.36% 0.1218 -0.1105)
OKLCHoklch(45.36% 0.164 317.8)
XYZxyz(14.0364, 8.1058, 27.2054)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E90 #44902E
analogous
#492E90 #7A2E90 #902E75
triadic
#7A2E90 #907A2E #2E907A
tetradic
#7A2E90 #90492E #44902E #2E7590
square
#7A2E90 #90492E #44902E #2E7590
split-complementary
#7A2E90 #75902E #2E9049
monochromatic
#2B1033 #531F62 #7A2E90 #A13DBE #B869CF

Accessibility & contrast

On white

8.01
#7A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E90
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E90#FFFFFF#000000##FFFFFF
##7A2E901.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044C93
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#79405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a2e90;
/* rgb */ color: rgb(122, 46, 144);
/* oklch */ color: oklch(45.4% 0.164 317.8);
Tailwind
colors: {
  custom: {
    50: '#a36db1',
    500: '#7a2e90',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e90;
$custom-light: #a36db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e90",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 286.531,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.16442,
    "h": 317.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#7A2E90
secondary
#76B664
accent
#DB4D6D
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #7A2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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