#7A4CDB#7A4CDB

#7A4CDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.207 H 293.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDB
RGBrgb(122, 76, 219)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(44.3%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.83, 51.15, -66.54)
CIE-LCHlch(44.83, 83.93, 307.55°)
OKLaboklab(54.66% 0.0811 -0.1903)
OKLCHoklch(54.66% 0.207 293.1)
XYZxyz(23.3932, 14.4202, 68.5549)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDB #ADDB4C
analogous
#4C65DB #7A4CDB #C24CDB
triadic
#7A4CDB #DB7A4C #4CDB7A
tetradic
#7A4CDB #DB4C65 #ADDB4C #4CDBC2
square
#7A4CDB #DB4C65 #ADDB4C #4CDBC2
split-complementary
#7A4CDB #DBC24C #65DB4C
monochromatic
#421D90 #5927C3 #7A4CDB #A07FE5 #C6B2EF

Accessibility & contrast

On white

5.41
#7A4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDB#FFFFFF#000000##FFFFFF
##7A4CDB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4cdb;
/* rgb */ color: rgb(122, 76, 219);
/* oklch */ color: oklch(54.7% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#a881e7',
    500: '#7a4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cdb;
$custom-light: #a881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cdb",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 259.301,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.20685,
    "h": 293.1
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#7A4CDB
secondary
#CCDEA5
accent
#E93EB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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