#7A3FD4#7A3FD4

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

Color values

HEX#7A3FD4
RGBrgb(122, 63, 212)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 70%, 83%)
CMYKcmyk(42.5%, 70.3%, 0%, 16.9%)
CIE-LABlab(41.92, 55.88, -67.27)
CIE-LCHlch(41.92, 87.45, 309.72°)
OKLaboklab(52.41% 0.095 -0.1924)
OKLCHoklch(52.41% 0.215 296.3)
XYZxyz(21.6841, 12.4456, 63.5344)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FD4 #99D43F
analogous
#3F4FD4 #7A3FD4 #C43FD4
triadic
#7A3FD4 #D47A3F #3FD47A
tetradic
#7A3FD4 #D43F4F #99D43F #3FD4C4
square
#7A3FD4 #D43F4F #99D43F #3FD4C4
split-complementary
#7A3FD4 #D4C43F #4FD43F
monochromatic
#421C7D #5D27AF #7A3FD4 #9D71DF #BFA3EA

Accessibility & contrast

On white

6.02
#7A3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7A3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FD4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FD4#FFFFFF#000000##FFFFFF
##7A3FD41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#626485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a3fd4;
/* rgb */ color: rgb(122, 63, 212);
/* oklch */ color: oklch(52.4% 0.215 296.3);
Tailwind
colors: {
  custom: {
    50: '#a879e2',
    500: '#7a3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fd4;
$custom-light: #a879e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fd4",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 263.758,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.21456,
    "h": 296.3
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#7A3FD4
secondary
#BED798
accent
#E641A5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7A3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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