#7A3BD1#7A3BD1

#7A3BD1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.216 H 297.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A3BD1
RGBrgb(122, 59, 209)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 72%, 82%)
CMYKcmyk(41.6%, 71.8%, 0%, 18%)
CIE-LABlab(41.01, 57.01, -67.03)
CIE-LCHlch(41.01, 87.99, 310.38°)
OKLaboklab(51.69% 0.0993 -0.1916)
OKLCHoklch(51.69% 0.216 297.4)
XYZxyz(21.0956, 11.8686, 61.4887)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BD1 #92D13B
analogous
#3B47D1 #7A3BD1 #C53BD1
triadic
#7A3BD1 #D17A3B #3BD17A
tetradic
#7A3BD1 #D13B47 #92D13B #3BD1C5
square
#7A3BD1 #D13B47 #92D13B #3BD1C5
split-complementary
#7A3BD1 #D1C53B #47D13B
monochromatic
#421C76 #5D27A7 #7A3BD1 #9C6DDD #BD9EE8

Accessibility & contrast

On white

6.22
#7A3BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7A3BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BD1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BD1#FFFFFF#000000##FFFFFF
##7A3BD11.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#646182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3bd1;
/* rgb */ color: rgb(122, 59, 209);
/* oklch */ color: oklch(51.7% 0.216 297.4);
Tailwind
colors: {
  custom: {
    50: '#a876e0',
    500: '#7a3bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bd1;
$custom-light: #a876e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bd1",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 265.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.21584,
    "h": 297.4
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#7A3BD1
secondary
#B9D493
accent
#E543A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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