#7A2CC7#7A2CC7

#7A2CC7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.221 H 301.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7A2CC7
RGBrgb(122, 44, 199)
HSLhsl(270, 64%, 48%)
HSVhsv(270, 78%, 78%)
CMYKcmyk(38.7%, 77.9%, 0%, 22%)
CIE-LABlab(37.95, 60.98, -66.21)
CIE-LCHlch(37.95, 90.01, 312.65°)
OKLaboklab(49.29% 0.1146 -0.1891)
OKLCHoklch(49.29% 0.221 301.2)
XYZxyz(19.2330, 10.0623, 54.9507)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CC7 #79C72C
analogous
#2D2CC7 #7A2CC7 #C72CC6
triadic
#7A2CC7 #C77A2C #2CC77A
tetradic
#7A2CC7 #C72D2C #79C72C #2CC6C7
square
#7A2CC7 #C72D2C #79C72C #2CC6C7
split-complementary
#7A2CC7 #C6C72C #2CC72D
monochromatic
#3D1663 #5B2195 #7A2CC7 #9956DA #B789E5

Accessibility & contrast

On white

6.97
#7A2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A2CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2CC7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CC7#FFFFFF#000000##FFFFFF
##7A2CC71.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#695679
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a2cc7;
/* rgb */ color: rgb(122, 44, 199);
/* oklch */ color: oklch(49.3% 0.221 301.2);
Tailwind
colors: {
  custom: {
    50: '#a76ed9',
    500: '#7a2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cc7;
$custom-light: #a76ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cc7",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 270.194,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.22114,
    "h": 301.2
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#7A2CC7
secondary
#A7CF80
accent
#E74193
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7A2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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