#7A3CD5#7A3CD5

#7A3CD5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.219 H 296.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7A3CD5
RGBrgb(122, 60, 213)
HSLhsl(264, 65%, 54%)
HSVhsv(264, 72%, 84%)
CMYKcmyk(42.7%, 71.8%, 0%, 16.5%)
CIE-LABlab(41.49, 57.55, -68.54)
CIE-LCHlch(41.49, 89.50, 310.02°)
OKLaboklab(52.13% 0.0976 -0.1961)
OKLCHoklch(52.13% 0.219 296.5)
XYZxyz(21.6490, 12.1729, 64.1469)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CD5 #97D53C
analogous
#3C4AD5 #7A3CD5 #C73CD5
triadic
#7A3CD5 #D57A3C #3CD57A
tetradic
#7A3CD5 #D53C4A #97D53C #3CD5C7
square
#7A3CD5 #D53C4A #97D53C #3CD5C7
split-complementary
#7A3CD5 #D5C73C #4AD53C
monochromatic
#421B7C #5D26AE #7A3CD5 #9C6EE0 #BFA1EB

Accessibility & contrast

On white

6.11
#7A3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7A3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CD5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CD5#FFFFFF#000000##FFFFFF
##7A3CD51.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#626385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3cd5;
/* rgb */ color: rgb(122, 60, 213);
/* oklch */ color: oklch(52.1% 0.219 296.5);
Tailwind
colors: {
  custom: {
    50: '#a877e3',
    500: '#7a3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cd5;
$custom-light: #a877e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cd5",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 264.314,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.21904,
    "h": 296.5
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#7A3CD5
secondary
#BDD796
accent
#E840A4
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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