#7A4FEC#7A4FEC

#7A4FEC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.223 H 289.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A4FEC
RGBrgb(122, 79, 236)
HSLhsl(256, 81%, 62%)
HSVhsv(256, 67%, 93%)
CMYKcmyk(48.3%, 66.5%, 0%, 7.5%)
CIE-LABlab(46.69, 54.18, -73.15)
CIE-LCHlch(46.69, 91.03, 306.53°)
OKLaboklab(56.4% 0.076 -0.2097)
OKLCHoklch(56.4% 0.223 289.9)
XYZxyz(25.9580, 15.7846, 81.0196)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FEC #C1EC4F
analogous
#4F73EC #7A4FEC #C94FEC
triadic
#7A4FEC #EC7A4F #4FEC7A
tetradic
#7A4FEC #EC4F73 #C1EC4F #4FECC9
square
#7A4FEC #EC4F73 #C1EC4F #4FECC9
split-complementary
#7A4FEC #ECC94F #73EC4F
monochromatic
#3D13AE #5119E5 #7A4FEC #A486F2 #CDBDF8

Accessibility & contrast

On white

5.05
#7A4FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FEC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FEC#FFFFFF#000000##FFFFFF
##7A4FEC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#547697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a4fec;
/* rgb */ color: rgb(122, 79, 236);
/* oklch */ color: oklch(56.4% 0.223 289.9);
Tailwind
colors: {
  custom: {
    50: '#a983f3',
    500: '#7a4fec',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fec;
$custom-light: #a983f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fec",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 256.433,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.22304,
    "h": 289.9
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#7A4FEC
secondary
#D9E8AE
accent
#DD09A3
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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