#7A3DD7#7A3DD7

#7A3DD7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.220 H 295.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7A3DD7
RGBrgb(122, 61, 215)
HSLhsl(264, 66%, 54%)
HSVhsv(264, 72%, 84%)
CMYKcmyk(43.3%, 71.6%, 0%, 15.7%)
CIE-LABlab(41.82, 57.59, -69.16)
CIE-LCHlch(41.82, 90.00, 309.79°)
OKLaboklab(52.41% 0.0963 -0.1979)
OKLCHoklch(52.41% 0.22 295.9)
XYZxyz(21.9573, 12.3809, 65.5097)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DD7 #9AD73D
analogous
#3D4DD7 #7A3DD7 #C73DD7
triadic
#7A3DD7 #D77A3D #3DD77A
tetradic
#7A3DD7 #D73D4D #9AD73D #3DD7C7
square
#7A3DD7 #D73D4D #9AD73D #3DD7C7
split-complementary
#7A3DD7 #D7C73D #4DD73D
monochromatic
#421A7F #5D25B2 #7A3DD7 #9D70E1 #C0A2EC

Accessibility & contrast

On white

6.04
#7A3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DD7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DD7#FFFFFF#000000##FFFFFF
##7A3DD71.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#616486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a3dd7;
/* rgb */ color: rgb(122, 61, 215);
/* oklch */ color: oklch(52.4% 0.220 295.9);
Tailwind
colors: {
  custom: {
    50: '#a878e4',
    500: '#7a3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dd7;
$custom-light: #a878e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dd7",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 263.766,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.22009,
    "h": 295.9
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#7A3DD7
secondary
#BFD997
accent
#E93FA6
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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