#7A2EBE#7A2EBE

#7A2EBE is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.210 H 303.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7A2EBE
RGBrgb(122, 46, 190)
HSLhsl(272, 61%, 46%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.8%, 75.8%, 0%, 25.5%)
CIE-LABlab(37.50, 58.10, -61.69)
CIE-LCHlch(37.50, 84.74, 313.28°)
OKLaboklab(48.74% 0.1152 -0.1759)
OKLCHoklch(48.74% 0.21 303.2)
XYZxyz(18.2951, 9.8093, 49.6348)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2EBE #72BE2E
analogous
#322EBE #7A2EBE #BE2EBA
triadic
#7A2EBE #BE7A2E #2EBE7A
tetradic
#7A2EBE #BE322E #72BE2E #2EBABE
square
#7A2EBE #BE322E #72BE2E #2EBABE
split-complementary
#7A2EBE #BABE2E #2EBE32
monochromatic
#3B165B #5A228D #7A2EBE #9854D6 #B685E1

Accessibility & contrast

On white

7.09
#7A2EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7A2EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2EBE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2EBE#FFFFFF#000000##FFFFFF
##7A2EBE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#6C5375
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a2ebe;
/* rgb */ color: rgb(122, 46, 190);
/* oklch */ color: oklch(48.7% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#a66fd3',
    500: '#7a2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7a2ebe;
$custom-light: #a66fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2ebe",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 271.667,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.21022,
    "h": 303.2
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#7A2EBE
secondary
#A2CB7D
accent
#E4448F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7A2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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