#7A2CB6#7A2CB6

#7A2CB6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.204 H 305.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7A2CB6
RGBrgb(122, 44, 182)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(33%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.59, 57.07, -58.45)
CIE-LCHlch(36.59, 81.69, 314.31°)
OKLaboklab(47.91% 0.1187 -0.1663)
OKLCHoklch(47.91% 0.204 305.5)
XYZxyz(17.3683, 9.3165, 45.1302)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CB6 #68B62C
analogous
#352CB6 #7A2CB6 #B62CAD
triadic
#7A2CB6 #B67A2C #2CB67A
tetradic
#7A2CB6 #B6352C #68B62C #2CADB6
square
#7A2CB6 #B6352C #68B62C #2CADB6
split-complementary
#7A2CB6 #ADB62C #2CB635
monochromatic
#381453 #592085 #7A2CB6 #984CD4 #B57DE0

Accessibility & contrast

On white

7.33
#7A2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CB6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CB6#FFFFFF#000000##FFFFFF
##7A2CB61.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#6F4F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a2cb6;
/* rgb */ color: rgb(122, 44, 182);
/* oklch */ color: oklch(47.9% 0.204 305.5);
Tailwind
colors: {
  custom: {
    50: '#a66dcd',
    500: '#7a2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cb6;
$custom-light: #a66dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cb6",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 273.913,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.20438,
    "h": 305.5
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#7A2CB6
secondary
#9AC876
accent
#E44489
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7A2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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