#7A3BD6#7A3BD6

#7A3BD6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.221 H 296.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7A3BD6
RGBrgb(122, 59, 214)
HSLhsl(264, 65%, 54%)
HSVhsv(264, 72%, 84%)
CMYKcmyk(43%, 72.4%, 0%, 16.1%)
CIE-LABlab(41.41, 58.27, -69.25)
CIE-LCHlch(41.41, 90.50, 310.08°)
OKLaboklab(52.09% 0.0983 -0.1982)
OKLCHoklch(52.09% 0.221 296.4)
XYZxyz(21.7244, 12.1201, 64.8001)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BD6 #97D63B
analogous
#3B49D6 #7A3BD6 #C73BD6
triadic
#7A3BD6 #D67A3B #3BD67A
tetradic
#7A3BD6 #D63B49 #97D63B #3BD6C7
square
#7A3BD6 #D63B49 #97D63B #3BD6C7
split-complementary
#7A3BD6 #D6C73B #49D63B
monochromatic
#421A7D #5D25AF #7A3BD6 #9C6EE1 #BFA0EB

Accessibility & contrast

On white

6.13
#7A3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BD6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BD6#FFFFFF#000000##FFFFFF
##7A3BD61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#616385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3bd6;
/* rgb */ color: rgb(122, 59, 214);
/* oklch */ color: oklch(52.1% 0.221 296.4);
Tailwind
colors: {
  custom: {
    50: '#a877e4',
    500: '#7a3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bd6;
$custom-light: #a877e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bd6",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 264.387,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.22121,
    "h": 296.4
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#7A3BD6
secondary
#BDD895
accent
#E83FA4
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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