#7A3CD2#7A3CD2

#7A3CD2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.216 H 297.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7A3CD2
RGBrgb(122, 60, 210)
HSLhsl(265, 63%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.9%, 71.4%, 0%, 17.6%)
CIE-LABlab(41.25, 56.80, -67.20)
CIE-LCHlch(41.25, 87.99, 310.20°)
OKLaboklab(51.88% 0.0982 -0.1922)
OKLCHoklch(51.88% 0.216 297.1)
XYZxyz(21.2717, 12.0220, 62.1600)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CD2 #94D23C
analogous
#3C49D2 #7A3CD2 #C53CD2
triadic
#7A3CD2 #D27A3C #3CD27A
tetradic
#7A3CD2 #D23C49 #94D23C #3CD2C5
square
#7A3CD2 #D23C49 #94D23C #3CD2C5
split-complementary
#7A3CD2 #D2C53C #49D23C
monochromatic
#421C78 #5D27AA #7A3CD2 #9C6EDD #BE9FE9

Accessibility & contrast

On white

6.17
#7A3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7A3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CD2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CD2#FFFFFF#000000##FFFFFF
##7A3CD21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#636283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3cd2;
/* rgb */ color: rgb(122, 60, 210);
/* oklch */ color: oklch(51.9% 0.216 297.1);
Tailwind
colors: {
  custom: {
    50: '#a877e1',
    500: '#7a3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cd2;
$custom-light: #a877e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cd2",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 264.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.2158,
    "h": 297.1
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#7A3CD2
secondary
#BBD594
accent
#E642A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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