#7A3FD9#7A3FD9

#7A3FD9 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.220 H 295.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7A3FD9
RGBrgb(122, 63, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 71%, 85%)
CMYKcmyk(43.8%, 71%, 0%, 14.9%)
CIE-LABlab(42.31, 57.16, -69.50)
CIE-LCHlch(42.31, 89.98, 309.44°)
OKLaboklab(52.81% 0.0941 -0.1989)
OKLCHoklch(52.81% 0.22 295.3)
XYZxyz(22.3246, 12.7018, 66.9077)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FD9 #9ED93F
analogous
#3F51D9 #7A3FD9 #C73FD9
triadic
#7A3FD9 #D97A3F #3FD97A
tetradic
#7A3FD9 #D93F51 #9ED93F #3FD9C7
square
#7A3FD9 #D93F51 #9ED93F #3FD9C7
split-complementary
#7A3FD9 #D9C73F #51D93F
monochromatic
#421A84 #5C24B7 #7A3FD9 #9D72E3 #C1A5ED

Accessibility & contrast

On white

5.93
#7A3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7A3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FD9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FD9#FFFFFF#000000##FFFFFF
##7A3FD91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#606688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a3fd9;
/* rgb */ color: rgb(122, 63, 217);
/* oklch */ color: oklch(52.8% 0.220 295.3);
Tailwind
colors: {
  custom: {
    50: '#a879e6',
    500: '#7a3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fd9;
$custom-light: #a879e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fd9",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 262.987,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.22003,
    "h": 295.3
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#7A3FD9
secondary
#C1DA9A
accent
#EA3EA8
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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