#7A4CED#7A4CED

#7A4CED is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.228 H 290.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A4CED
RGBrgb(122, 76, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.5%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.20, 56.01, -74.50)
CIE-LCHlch(46.20, 93.21, 306.93°)
OKLaboklab(56.07% 0.0786 -0.2137)
OKLCHoklch(56.07% 0.228 290.2)
XYZxyz(25.8922, 15.4198, 81.7164)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CED #BFED4C
analogous
#4C6FED #7A4CED #CB4CED
triadic
#7A4CED #ED7A4C #4CED7A
tetradic
#7A4CED #ED4C6F #BFED4C #4CEDCB
square
#7A4CED #ED4C6F #BFED4C #4CEDCB
split-complementary
#7A4CED #EDCB4C #6FED4C
monochromatic
#3E11AD #5217E5 #7A4CED #A384F3 #CDBBF8

Accessibility & contrast

On white

5.14
#7A4CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7A4CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CED#FFFFFF#000000##FFFFFF
##7A4CED1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#537597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a4ced;
/* rgb */ color: rgb(122, 76, 237);
/* oklch */ color: oklch(56.1% 0.228 290.2);
Tailwind
colors: {
  custom: {
    50: '#aa81f4',
    500: '#7a4ced',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ced;
$custom-light: #aa81f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ced",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 257.143,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.22767,
    "h": 290.2
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#7A4CED
secondary
#D7E8AC
accent
#DE07A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4CED

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

Preview Lab → · Contrast checker → · Palette generator →

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