#7A2AC0#7A2AC0

#7A2AC0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.216 H 303.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7A2AC0
RGBrgb(122, 42, 192)
HSLhsl(272, 64%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(36.5%, 78.1%, 0%, 24.7%)
CIE-LABlab(37.11, 60.13, -63.49)
CIE-LCHlch(37.11, 87.44, 313.44°)
OKLaboklab(48.52% 0.118 -0.1811)
OKLCHoklch(48.52% 0.216 303.1)
XYZxyz(18.3662, 9.5993, 50.7442)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2AC0 #70C02A
analogous
#2F2AC0 #7A2AC0 #C02ABB
triadic
#7A2AC0 #C07A2A #2AC07A
tetradic
#7A2AC0 #C02F2A #70C02A #2ABBC0
square
#7A2AC0 #C02F2A #70C02A #2ABBC0
split-complementary
#7A2AC0 #BBC02A #2AC02F
monochromatic
#3A145C #5A1F8E #7A2AC0 #984FD8 #B581E3

Accessibility & contrast

On white

7.19
#7A2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7A2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2AC0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2AC0#FFFFFF#000000##FFFFFF
##7A2AC01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6B5275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a2ac0;
/* rgb */ color: rgb(122, 42, 192);
/* oklch */ color: oklch(48.5% 0.216 303.1);
Tailwind
colors: {
  custom: {
    50: '#a76dd4',
    500: '#7a2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2ac0;
$custom-light: #a76dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2ac0",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 272,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.21619,
    "h": 303.1
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#7A2AC0
secondary
#A0CC7A
accent
#E7418E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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