#7A2BC0#7A2BC0

#7A2BC0 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.215 H 303.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7A2BC0
RGBrgb(122, 43, 192)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(36.5%, 77.6%, 0%, 24.7%)
CIE-LABlab(37.25, 59.75, -63.27)
CIE-LCHlch(37.25, 87.02, 313.36°)
OKLaboklab(48.62% 0.1172 -0.1805)
OKLCHoklch(48.62% 0.215 303)
XYZxyz(18.4021, 9.6711, 50.7562)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BC0 #71C02B
analogous
#2F2BC0 #7A2BC0 #C02BBB
triadic
#7A2BC0 #C07A2B #2BC07A
tetradic
#7A2BC0 #C02F2B #71C02B #2BBBC0
square
#7A2BC0 #C02F2B #71C02B #2BBBC0
split-complementary
#7A2BC0 #BBC02B #2BC02F
monochromatic
#3A155C #5A208E #7A2BC0 #9850D8 #B682E3

Accessibility & contrast

On white

7.16
#7A2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7A2BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2BC0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BC0#FFFFFF#000000##FFFFFF
##7A2BC01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6B5275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a2bc0;
/* rgb */ color: rgb(122, 43, 192);
/* oklch */ color: oklch(48.6% 0.215 303.0);
Tailwind
colors: {
  custom: {
    50: '#a76dd4',
    500: '#7a2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bc0;
$custom-light: #a76dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bc0",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 271.812,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48615,
    "c": 0.21522,
    "h": 303
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#7A2BC0
secondary
#A1CC7B
accent
#E6418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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