#7A4FEA#7A4FEA

#7A4FEA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.221 H 290.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7A4FEA
RGBrgb(122, 79, 234)
HSLhsl(257, 79%, 61%)
HSVhsv(257, 66%, 92%)
CMYKcmyk(47.9%, 66.2%, 0%, 8.2%)
CIE-LABlab(46.54, 53.64, -72.27)
CIE-LCHlch(46.54, 90.00, 306.58°)
OKLaboklab(56.24% 0.0763 -0.2071)
OKLCHoklch(56.24% 0.221 290.2)
XYZxyz(25.6691, 15.6690, 79.4979)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FEA #BFEA4F
analogous
#4F72EA #7A4FEA #C84FEA
triadic
#7A4FEA #EA7A4F #4FEA7A
tetradic
#7A4FEA #EA4F72 #BFEA4F #4FEAC8
square
#7A4FEA #EA4F72 #BFEA4F #4FEAC8
split-complementary
#7A4FEA #EAC84F #72EA4F
monochromatic
#3E14AA #521BE1 #7A4FEA #A386F1 #CDBCF7

Accessibility & contrast

On white

5.08
#7A4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7A4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FEA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FEA#FFFFFF#000000##FFFFFF
##7A4FEA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#557596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4fea;
/* rgb */ color: rgb(122, 79, 234);
/* oklch */ color: oklch(56.2% 0.221 290.2);
Tailwind
colors: {
  custom: {
    50: '#a983f2',
    500: '#7a4fea',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fea;
$custom-light: #a983f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fea",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 256.645,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.22071,
    "h": 290.2
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#7A4FEA
secondary
#D7E7AD
accent
#DB0BA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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