#7A2BBE#7A2BBE

#7A2BBE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.213 H 303.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7A2BBE
RGBrgb(122, 43, 190)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.8%, 77.4%, 0%, 25.5%)
CIE-LABlab(37.08, 59.29, -62.36)
CIE-LCHlch(37.08, 86.05, 313.55°)
OKLaboklab(48.45% 0.1177 -0.1778)
OKLCHoklch(48.45% 0.213 303.5)
XYZxyz(18.1820, 9.5831, 49.5970)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BBE #6FBE2B
analogous
#312BBE #7A2BBE #BE2BB8
triadic
#7A2BBE #BE7A2B #2BBE7A
tetradic
#7A2BBE #BE312B #6FBE2B #2BB8BE
square
#7A2BBE #BE312B #6FBE2B #2BB8BE
split-complementary
#7A2BBE #B8BE2B #2BBE31
monochromatic
#3A145A #5A208C #7A2BBE #984FD7 #B581E2

Accessibility & contrast

On white

7.20
#7A2BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7A2BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2BBE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BBE#FFFFFF#000000##FFFFFF
##7A2BBE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#6C5174
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7a2bbe;
/* rgb */ color: rgb(122, 43, 190);
/* oklch */ color: oklch(48.5% 0.213 303.5);
Tailwind
colors: {
  custom: {
    50: '#a76dd3',
    500: '#7a2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bbe;
$custom-light: #a76dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bbe",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 272.245,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.21327,
    "h": 303.5
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#7A2BBE
secondary
#9FCB7A
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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