#7A2BCA#7A2BCA

#7A2BCA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.225 H 300.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7A2BCA
RGBrgb(122, 43, 202)
HSLhsl(270, 65%, 48%)
HSVhsv(270, 79%, 79%)
CMYKcmyk(39.6%, 78.7%, 0%, 20.8%)
CIE-LABlab(38.07, 62.06, -67.76)
CIE-LCHlch(38.07, 91.89, 312.49°)
OKLaboklab(49.45% 0.1145 -0.1937)
OKLCHoklch(49.45% 0.225 300.6)
XYZxyz(19.5479, 10.1294, 56.7910)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BCA #7BCA2B
analogous
#2B2CCA #7A2BCA #C92BCA
triadic
#7A2BCA #CA7A2B #2BCA7A
tetradic
#7A2BCA #CA2B2C #7BCA2B #2BCAC9
square
#7A2BCA #CA2B2C #7BCA2B #2BCAC9
split-complementary
#7A2BCA #CAC92B #2CCA2B
monochromatic
#3D1665 #5C2098 #7A2BCA #9957DB #B789E6

Accessibility & contrast

On white

6.94
#7A2BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7A2BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2BCA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BCA#FFFFFF#000000##FFFFFF
##7A2BCA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#67577B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a2bca;
/* rgb */ color: rgb(122, 43, 202);
/* oklch */ color: oklch(49.4% 0.225 300.6);
Tailwind
colors: {
  custom: {
    50: '#a86edb',
    500: '#7a2bca',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bca;
$custom-light: #a86edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bca",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 269.811,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.22502,
    "h": 300.6
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#7A2BCA
secondary
#A9D081
accent
#E84094
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7A2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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