#7A3DD2#7A3DD2

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

Color values

HEX#7A3DD2
RGBrgb(122, 61, 210)
HSLhsl(265, 62%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.9%, 71%, 0%, 17.6%)
CIE-LABlab(41.42, 56.33, -66.93)
CIE-LCHlch(41.42, 87.48, 310.08°)
OKLaboklab(52% 0.0973 -0.1914)
OKLCHoklch(52% 0.215 296.9)
XYZxyz(21.3246, 12.1278, 62.1777)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DD2 #95D23D
analogous
#3D4AD2 #7A3DD2 #C53DD2
triadic
#7A3DD2 #D27A3D #3DD27A
tetradic
#7A3DD2 #D23D4A #95D23D #3DD2C5
square
#7A3DD2 #D23D4A #95D23D #3DD2C5
split-complementary
#7A3DD2 #D2C53D #4AD23D
monochromatic
#421C79 #5D28AA #7A3DD2 #9C6FDE #BEA0E9

Accessibility & contrast

On white

6.13
#7A3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3DD2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DD2#FFFFFF#000000##FFFFFF
##7A3DD21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#636284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3dd2;
/* rgb */ color: rgb(122, 61, 210);
/* oklch */ color: oklch(52.0% 0.215 296.9);
Tailwind
colors: {
  custom: {
    50: '#a878e1',
    500: '#7a3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dd2;
$custom-light: #a878e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dd2",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 264.564,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.21467,
    "h": 296.9
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#7A3DD2
secondary
#BBD695
accent
#E542A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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