#7A3BBD#7A3BBD

#7A3BBD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.194 H 302.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7A3BBD
RGBrgb(122, 59, 189)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 69%, 74%)
CMYKcmyk(35.4%, 68.8%, 0%, 25.9%)
CIE-LABlab(39.48, 52.05, -57.88)
CIE-LCHlch(39.48, 77.84, 311.97°)
OKLaboklab(50.12% 0.1028 -0.1647)
OKLCHoklch(50.12% 0.194 302)
XYZxyz(18.7731, 10.9396, 49.2568)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BBD #7EBD3B
analogous
#3B3DBD #7A3BBD #BB3BBD
triadic
#7A3BBD #BD7A3B #3BBD7A
tetradic
#7A3BBD #BD3B3D #7EBD3B #3BBDBB
square
#7A3BBD #BD3B3D #7EBD3B #3BBDBB
split-complementary
#7A3BBD #BDBB3B #3DBD3B
monochromatic
#3E1E60 #5C2C8E #7A3BBD #9966CF #B895DE

Accessibility & contrast

On white

6.59
#7A3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7A3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BBD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BBD#FFFFFF#000000##FFFFFF
##7A3BBD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#6C5977
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3bbd;
/* rgb */ color: rgb(122, 59, 189);
/* oklch */ color: oklch(50.1% 0.194 302.0);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7a3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bbd;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bbd",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 269.077,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.19419,
    "h": 302
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#7A3BBD
secondary
#ABC98B
accent
#DC4C96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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