#7A3CD9#7A3CD9

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

Color values

HEX#7A3CD9
RGBrgb(122, 60, 217)
HSLhsl(264, 67%, 54%)
HSVhsv(264, 72%, 85%)
CMYKcmyk(43.8%, 72.4%, 0%, 14.9%)
CIE-LABlab(41.81, 58.56, -70.31)
CIE-LCHlch(41.81, 91.51, 309.79°)
OKLaboklab(52.45% 0.0967 -0.2013)
OKLCHoklch(52.45% 0.223 295.7)
XYZxyz(22.1629, 12.3785, 66.8538)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CD9 #9BD93C
analogous
#3C4DD9 #7A3CD9 #C83CD9
triadic
#7A3CD9 #D97A3C #3CD97A
tetradic
#7A3CD9 #D93C4D #9BD93C #3CD9C8
square
#7A3CD9 #D93C4D #9BD93C #3CD9C8
split-complementary
#7A3CD9 #D9C83C #4DD93C
monochromatic
#421981 #5D23B5 #7A3CD9 #9D6FE3 #C0A2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A3CD9#FFFFFF#000000##FFFFFF
##7A3CD91.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)
#0064DE
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#606587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a3cd9;
/* rgb */ color: rgb(122, 60, 217);
/* oklch */ color: oklch(52.5% 0.223 295.7);
Tailwind
colors: {
  custom: {
    50: '#a877e6',
    500: '#7a3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3cd9;
$custom-light: #a877e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3cd9",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 263.694,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.22334,
    "h": 295.7
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#7A3CD9
secondary
#BFDA97
accent
#EA3EA6
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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