#7A2CB0#7A2CB0

#7A2CB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 307.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7A2CB0
RGBrgb(122, 44, 176)
HSLhsl(275, 60%, 43%)
HSVhsv(275, 75%, 69%)
CMYKcmyk(30.7%, 75%, 0%, 31%)
CIE-LABlab(36.13, 55.71, -55.64)
CIE-LCHlch(36.13, 78.74, 315.04°)
OKLaboklab(47.44% 0.12 -0.1581)
OKLCHoklch(47.44% 0.198 307.2)
XYZxyz(16.7615, 9.0737, 41.9343)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2CB0 #62B02C
analogous
#382CB0 #7A2CB0 #B02CA4
triadic
#7A2CB0 #B07A2C #2CB07A
tetradic
#7A2CB0 #B0382C #62B02C #2CA4B0
square
#7A2CB0 #B0382C #62B02C #2CA4B0
split-complementary
#7A2CB0 #A4B02C #2CB038
monochromatic
#36144E #58207F #7A2CB0 #9948D1 #B479DD

Accessibility & contrast

On white

7.46
#7A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7A2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2CB0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2CB0#FFFFFF#000000##FFFFFF
##7A2CB01.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#714C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2cb0;
/* rgb */ color: rgb(122, 44, 176);
/* oklch */ color: oklch(47.4% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#a56dc8',
    500: '#7a2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2cb0;
$custom-light: #a56dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2cb0",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 275.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.19846,
    "h": 307.2
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#7A2CB0
secondary
#94C672
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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