#7A3CD8#7A3CD8

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

Color values

HEX#7A3CD8
RGBrgb(122, 60, 216)
HSLhsl(264, 67%, 54%)
HSVhsv(264, 72%, 85%)
CMYKcmyk(43.5%, 72.2%, 0%, 15.3%)
CIE-LABlab(41.73, 58.31, -69.87)
CIE-LCHlch(41.73, 91.01, 309.85°)
OKLaboklab(52.37% 0.097 -0.2)
OKLCHoklch(52.37% 0.222 295.9)
XYZxyz(22.0333, 12.3266, 66.1708)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CD8 #9AD83C
analogous
#3C4CD8 #7A3CD8 #C83CD8
triadic
#7A3CD8 #D87A3C #3CD87A
tetradic
#7A3CD8 #D83C4C #9AD83C #3CD8C8
square
#7A3CD8 #D83C4C #9AD83C #3CD8C8
split-complementary
#7A3CD8 #D8C83C #4CD83C
monochromatic
#421A80 #5D24B3 #7A3CD8 #9D6FE2 #C0A2EC

Accessibility & contrast

On white

6.06
#7A3CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7A3CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CD8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CD8#FFFFFF#000000##FFFFFF
##7A3CD81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#606487
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3cd8;
/* rgb */ color: rgb(122, 60, 216);
/* oklch */ color: oklch(52.4% 0.222 295.9);
Tailwind
colors: {
  custom: {
    50: '#a877e5',
    500: '#7a3cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cd8;
$custom-light: #a877e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cd8",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 263.846,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.22226,
    "h": 295.9
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#7A3CD8
secondary
#BFD997
accent
#EA3EA5
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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