#7A3BCA#7A3BCA

#7A3BCA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.208 H 298.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7A3BCA
RGBrgb(122, 59, 202)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(39.6%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.46, 55.26, -63.87)
CIE-LCHlch(40.46, 84.46, 310.87°)
OKLaboklab(51.13% 0.1007 -0.1824)
OKLCHoklch(51.13% 0.208 298.9)
XYZxyz(20.2480, 11.5295, 57.0243)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BCA #8BCA3B
analogous
#3B43CA #7A3BCA #C23BCA
triadic
#7A3BCA #CA7A3B #3BCA7A
tetradic
#7A3BCA #CA3B43 #8BCA3B #3BCAC2
square
#7A3BCA #CA3B43 #8BCA3B #3BCAC2
split-complementary
#7A3BCA #CAC23B #43CA3B
monochromatic
#411E6D #5D2B9D #7A3BCA #9B6BD7 #BB9BE4

Accessibility & contrast

On white

6.35
#7A3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7A3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BCA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BCA#FFFFFF#000000##FFFFFF
##7A3BCA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#675E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3bca;
/* rgb */ color: rgb(122, 59, 202);
/* oklch */ color: oklch(51.1% 0.208 298.9);
Tailwind
colors: {
  custom: {
    50: '#a776db',
    500: '#7a3bca',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bca;
$custom-light: #a776db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bca",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 266.434,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51127,
    "c": 0.2083,
    "h": 298.9
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#7A3BCA
secondary
#B4D091
accent
#E1479D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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