#7A3CBD#7A3CBD

#7A3CBD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.193 H 301.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7A3CBD
RGBrgb(122, 60, 189)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 68%, 74%)
CMYKcmyk(35.4%, 68.3%, 0%, 25.9%)
CIE-LABlab(39.65, 51.57, -57.60)
CIE-LCHlch(39.65, 77.31, 311.84°)
OKLaboklab(50.25% 0.1017 -0.1639)
OKLCHoklch(50.25% 0.193 301.8)
XYZxyz(18.8250, 11.0433, 49.2741)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CBD #7FBD3C
analogous
#3C3FBD #7A3CBD #BB3CBD
triadic
#7A3CBD #BD7A3C #3CBD7A
tetradic
#7A3CBD #BD3C3F #7FBD3C #3CBDBB
square
#7A3CBD #BD3C3F #7FBD3C #3CBDBB
split-complementary
#7A3CBD #BDBB3C #3FBD3C
monochromatic
#3E1F60 #5C2D8F #7A3CBD #9967CF #B896DE

Accessibility & contrast

On white

6.54
#7A3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7A3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CBD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CBD#FFFFFF#000000##FFFFFF
##7A3CBD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#6C5A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3cbd;
/* rgb */ color: rgb(122, 60, 189);
/* oklch */ color: oklch(50.2% 0.193 301.8);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7a3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cbd;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cbd",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 268.837,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.19293,
    "h": 301.8
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#7A3CBD
secondary
#ACC98C
accent
#DB4D97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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