#7A3FD2#7A3FD2

#7A3FD2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.212 H 296.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7A3FD2
RGBrgb(122, 63, 210)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 70%, 82%)
CMYKcmyk(41.9%, 70%, 0%, 17.6%)
CIE-LABlab(41.76, 55.37, -66.38)
CIE-LCHlch(41.76, 86.44, 309.84°)
OKLaboklab(52.25% 0.0954 -0.1897)
OKLCHoklch(52.25% 0.212 296.7)
XYZxyz(21.4334, 12.3453, 62.2139)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FD2 #97D23F
analogous
#3F4DD2 #7A3FD2 #C43FD2
triadic
#7A3FD2 #D27A3F #3FD27A
tetradic
#7A3FD2 #D23F4D #97D23F #3FD2C4
square
#7A3FD2 #D23F4D #97D23F #3FD2C4
split-complementary
#7A3FD2 #D2C43F #4DD23F
monochromatic
#421D7A #5D28AC #7A3FD2 #9C71DE #BFA2E9

Accessibility & contrast

On white

6.05
#7A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3FD2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FD2#FFFFFF#000000##FFFFFF
##7A3FD21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#636484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a3fd2;
/* rgb */ color: rgb(122, 63, 210);
/* oklch */ color: oklch(52.2% 0.212 296.7);
Tailwind
colors: {
  custom: {
    50: '#a779e1',
    500: '#7a3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fd2;
$custom-light: #a779e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fd2",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 264.082,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.21236,
    "h": 296.7
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#7A3FD2
secondary
#BDD697
accent
#E543A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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