#7A3CE3#7A3CE3

#7A3CE3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.234 H 293.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A3CE3
RGBrgb(122, 60, 227)
HSLhsl(262, 75%, 56%)
HSVhsv(262, 74%, 89%)
CMYKcmyk(46.3%, 73.6%, 0%, 11%)
CIE-LABlab(42.63, 61.10, -74.68)
CIE-LCHlch(42.63, 96.49, 309.29°)
OKLaboklab(53.29% 0.0945 -0.2141)
OKLCHoklch(53.29% 0.234 293.8)
XYZxyz(23.5032, 12.9146, 73.9126)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3CE3 #A5E33C
analogous
#3C52E3 #7A3CE3 #CD3CE3
triadic
#7A3CE3 #E37A3C #3CE37A
tetradic
#7A3CE3 #E33C52 #A5E33C #3CE3CD
square
#7A3CE3 #E33C52 #A5E33C #3CE3CD
split-complementary
#7A3CE3 #E3CD3C #52E33C
monochromatic
#421590 #5B1CC5 #7A3CE3 #9F72EB #C3A7F2

Accessibility & contrast

On white

5.86
#7A3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7A3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3CE3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3CE3#FFFFFF#000000##FFFFFF
##7A3CE31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#5B698D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a3ce3;
/* rgb */ color: rgb(122, 60, 227);
/* oklch */ color: oklch(53.3% 0.234 293.8);
Tailwind
colors: {
  custom: {
    50: '#a978ed',
    500: '#7a3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ce3;
$custom-light: #a978ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ce3",
  "rgb": {
    "r": 122,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 262.275,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.23402,
    "h": 293.8
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#7A3CE3
secondary
#C6E09B
accent
#F236AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7A3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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