#7A4BDC#7A4BDC

#7A4BDC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.209 H 293.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A4BDC
RGBrgb(122, 75, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 66%, 86%)
CMYKcmyk(44.5%, 65.9%, 0%, 13.7%)
CIE-LABlab(44.71, 51.94, -67.30)
CIE-LCHlch(44.71, 85.01, 307.66°)
OKLaboklab(54.6% 0.082 -0.1925)
OKLCHoklch(54.6% 0.209 293.1)
XYZxyz(23.4568, 14.3363, 69.2276)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BDC #ADDC4B
analogous
#4B65DC #7A4BDC #C24BDC
triadic
#7A4BDC #DC7A4B #4BDC7A
tetradic
#7A4BDC #DC4B65 #ADDC4B #4BDCC2
square
#7A4BDC #DC4B65 #ADDC4B #4BDCC2
split-complementary
#7A4BDC #DCC24B #65DC4B
monochromatic
#421C91 #5926C4 #7A4BDC #A07EE6 #C6B1F0

Accessibility & contrast

On white

5.43
#7A4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BDC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BDC#FFFFFF#000000##FFFFFF
##7A4BDC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#5E6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4bdc;
/* rgb */ color: rgb(122, 75, 220);
/* oklch */ color: oklch(54.6% 0.209 293.1);
Tailwind
colors: {
  custom: {
    50: '#a880e8',
    500: '#7a4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bdc;
$custom-light: #a880e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bdc",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 259.448,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54595,
    "c": 0.20926,
    "h": 293.1
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#7A4BDC
secondary
#CCDEA4
accent
#EA3DB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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