#7A2CC0#7A2CC0

#7A2CC0 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.214 H 302.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7A2CC0
RGBrgb(122, 44, 192)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(36.5%, 77.1%, 0%, 24.7%)
CIE-LABlab(37.38, 59.36, -63.05)
CIE-LCHlch(37.38, 86.60, 313.27°)
OKLaboklab(48.71% 0.1164 -0.1799)
OKLCHoklch(48.71% 0.214 302.9)
XYZxyz(18.4389, 9.7447, 50.7684)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CC0 #72C02C
analogous
#302CC0 #7A2CC0 #C02CBC
triadic
#7A2CC0 #C07A2C #2CC07A
tetradic
#7A2CC0 #C0302C #72C02C #2CBCC0
square
#7A2CC0 #C0302C #72C02C #2CBCC0
split-complementary
#7A2CC0 #BCC02C #2CC030
monochromatic
#3B155C #5A218E #7A2CC0 #9852D7 #B684E3

Accessibility & contrast

On white

7.12
#7A2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7A2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CC0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CC0#FFFFFF#000000##FFFFFF
##7A2CC01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6B5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a2cc0;
/* rgb */ color: rgb(122, 44, 192);
/* oklch */ color: oklch(48.7% 0.214 302.9);
Tailwind
colors: {
  custom: {
    50: '#a76ed4',
    500: '#7a2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cc0;
$custom-light: #a76ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cc0",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 271.622,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.21425,
    "h": 302.9
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#7A2CC0
secondary
#A2CC7C
accent
#E6428F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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