#7A2AB0#7A2AB0

#7A2AB0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 307.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7A2AB0
RGBrgb(122, 42, 176)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.7%, 76.1%, 0%, 31%)
CIE-LABlab(35.85, 56.51, -56.09)
CIE-LCHlch(35.85, 79.62, 315.21°)
OKLaboklab(47.24% 0.1218 -0.1594)
OKLCHoklch(47.24% 0.201 307.4)
XYZxyz(16.6888, 8.9283, 41.9100)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2AB0 #60B02A
analogous
#372AB0 #7A2AB0 #B02AA3
triadic
#7A2AB0 #B07A2A #2AB07A
tetradic
#7A2AB0 #B0372A #60B02A #2AA3B0
square
#7A2AB0 #B0372A #60B02A #2AA3B0
split-complementary
#7A2AB0 #A3B02A #2AB037
monochromatic
#36124D #581E7F #7A2AB0 #9945D3 #B476DE

Accessibility & contrast

On white

7.54
#7A2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7A2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2AB0
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2AB0#FFFFFF#000000##FFFFFF
##7A2AB01.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#714B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a2ab0;
/* rgb */ color: rgb(122, 42, 176);
/* oklch */ color: oklch(47.2% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#a66cc8',
    500: '#7a2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2ab0;
$custom-light: #a66cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2ab0",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 275.821,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.20063,
    "h": 307.4
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#7A2AB0
secondary
#93C670
accent
#E54384
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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