#7A3CD3#7A3CD3

#7A3CD3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.217 H 296.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7A3CD3
RGBrgb(122, 60, 211)
HSLhsl(265, 63%, 53%)
HSVhsv(265, 72%, 83%)
CMYKcmyk(42.2%, 71.6%, 0%, 17.3%)
CIE-LABlab(41.33, 57.05, -67.65)
CIE-LCHlch(41.33, 88.49, 310.14°)
OKLaboklab(51.97% 0.098 -0.1935)
OKLCHoklch(51.97% 0.217 296.9)
XYZxyz(21.3967, 12.0720, 62.8182)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CD3 #95D33C
analogous
#3C49D3 #7A3CD3 #C63CD3
triadic
#7A3CD3 #D37A3C #3CD37A
tetradic
#7A3CD3 #D33C49 #95D33C #3CD3C6
square
#7A3CD3 #D33C49 #95D33C #3CD3C6
split-complementary
#7A3CD3 #D3C63C #49D33C
monochromatic
#421B79 #5D27AB #7A3CD3 #9C6EDE #BEA0EA

Accessibility & contrast

On white

6.15
#7A3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7A3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CD3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CD3#FFFFFF#000000##FFFFFF
##7A3CD31.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#636284
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3cd3;
/* rgb */ color: rgb(122, 60, 211);
/* oklch */ color: oklch(52.0% 0.217 296.9);
Tailwind
colors: {
  custom: {
    50: '#a877e2',
    500: '#7a3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cd3;
$custom-light: #a877e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cd3",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 264.636,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.21688,
    "h": 296.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#7A3CD3
secondary
#BBD695
accent
#E642A3
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7A3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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