#7A4CDF#7A4CDF

#7A4CDF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.212 H 292.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDF
RGBrgb(122, 76, 223)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(45.3%, 65.9%, 0%, 12.5%)
CIE-LABlab(45.13, 52.22, -68.33)
CIE-LCHlch(45.13, 86.00, 307.39°)
OKLaboklab(54.97% 0.0806 -0.1955)
OKLCHoklch(54.97% 0.212 292.4)
XYZxyz(23.9261, 14.6334, 71.3616)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDF #B1DF4C
analogous
#4C67DF #7A4CDF #C44CDF
triadic
#7A4CDF #DF7A4C #4CDF7A
tetradic
#7A4CDF #DF4C67 #B1DF4C #4CDFC4
square
#7A4CDF #DF4C67 #B1DF4C #4CDFC4
split-complementary
#7A4CDF #DFC44C #67DF4C
monochromatic
#411B96 #5824CA #7A4CDF #A180E8 #C7B4F2

Accessibility & contrast

On white

5.35
#7A4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7A4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDF#FFFFFF#000000##FFFFFF
##7A4CDF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#5C708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4cdf;
/* rgb */ color: rgb(122, 76, 223);
/* oklch */ color: oklch(55.0% 0.212 292.4);
Tailwind
colors: {
  custom: {
    50: '#a881ea',
    500: '#7a4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cdf;
$custom-light: #a881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cdf",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 258.776,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.21152,
    "h": 292.4
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#7A4CDF
secondary
#CEE0A6
accent
#EC3BB5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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