#7A3CBB#7A3CBB

#7A3CBB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.191 H 302.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7A3CBB
RGBrgb(122, 60, 187)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(34.8%, 67.9%, 0%, 26.7%)
CIE-LABlab(39.51, 51.08, -56.66)
CIE-LCHlch(39.51, 76.28, 312.03°)
OKLaboklab(50.1% 0.102 -0.1612)
OKLCHoklch(50.1% 0.191 302.3)
XYZxyz(18.6094, 10.9571, 48.1386)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CBB #7DBB3C
analogous
#3C3EBB #7A3CBB #B93CBB
triadic
#7A3CBB #BB7A3C #3CBB7A
tetradic
#7A3CBB #BB3C3E #7DBB3C #3CBBB9
square
#7A3CBB #BB3C3E #7DBB3C #3CBBB9
split-complementary
#7A3CBB #BBB93C #3EBB3C
monochromatic
#3E1E5E #5C2D8D #7A3CBB #9966CE #B895DD

Accessibility & contrast

On white

6.58
#7A3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3CBB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CBB#FFFFFF#000000##FFFFFF
##7A3CBB1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6D5977
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3cbb;
/* rgb */ color: rgb(122, 60, 187);
/* oklch */ color: oklch(50.1% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#a576d0',
    500: '#7a3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cbb;
$custom-light: #a576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cbb",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 269.291,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.19073,
    "h": 302.3
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#7A3CBB
secondary
#AAC88B
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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