#7A2DAE#7A2DAE

#7A2DAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.195 H 307.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7A2DAE
RGBrgb(122, 45, 174)
HSLhsl(276, 59%, 43%)
HSVhsv(276, 74%, 68%)
CMYKcmyk(29.9%, 74.1%, 0%, 31.8%)
CIE-LABlab(36.12, 54.85, -54.46)
CIE-LCHlch(36.12, 77.29, 315.20°)
OKLaboklab(47.38% 0.1194 -0.1546)
OKLCHoklch(47.38% 0.195 307.7)
XYZxyz(16.6028, 9.0706, 40.9123)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2DAE #61AE2D
analogous
#392DAE #7A2DAE #AE2DA1
triadic
#7A2DAE #AE7A2D #2DAE7A
tetradic
#7A2DAE #AE392D #61AE2D #2DA1AE
square
#7A2DAE #AE392D #61AE2D #2DA1AE
split-complementary
#7A2DAE #A1AE2D #2DAE39
monochromatic
#36144D #58207D #7A2DAE #9948D0 #B479DC

Accessibility & contrast

On white

7.46
#7A2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7A2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2DAE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2DAE#FFFFFF#000000##FFFFFF
##7A2DAE1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#714C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2dae;
/* rgb */ color: rgb(122, 45, 174);
/* oklch */ color: oklch(47.4% 0.195 307.7);
Tailwind
colors: {
  custom: {
    50: '#a56ec7',
    500: '#7a2dae',
    950: '#000000',
  },
}
SCSS
$custom: #7a2dae;
$custom-light: #a56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2dae",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 275.814,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.19537,
    "h": 307.7
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#7A2DAE
secondary
#93C472
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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