#7A2CB5#7A2CB5

#7A2CB5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.203 H 305.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7A2CB5
RGBrgb(122, 44, 181)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(32.6%, 75.7%, 0%, 29%)
CIE-LABlab(36.51, 56.84, -57.99)
CIE-LCHlch(36.51, 81.20, 314.43°)
OKLaboklab(47.83% 0.119 -0.165)
OKLCHoklch(47.83% 0.203 305.8)
XYZxyz(17.2654, 9.2753, 44.5878)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CB5 #67B52C
analogous
#362CB5 #7A2CB5 #B52CAC
triadic
#7A2CB5 #B57A2C #2CB57A
tetradic
#7A2CB5 #B5362C #67B52C #2CACB5
square
#7A2CB5 #B5362C #67B52C #2CACB5
split-complementary
#7A2CB5 #ACB52C #2CB536
monochromatic
#381453 #592084 #7A2CB5 #994BD3 #B57CDF

Accessibility & contrast

On white

7.36
#7A2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CB5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CB5#FFFFFF#000000##FFFFFF
##7A2CB51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#6F4E6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a2cb5;
/* rgb */ color: rgb(122, 44, 181);
/* oklch */ color: oklch(47.8% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#a66dcc',
    500: '#7a2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cb5;
$custom-light: #a66dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cb5",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 274.161,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.2034,
    "h": 305.8
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#7A2CB5
secondary
#99C875
accent
#E44489
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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