#7A4BCD#7A4BCD

#7A4BCD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.192 H 295.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A4BCD
RGBrgb(122, 75, 205)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(40.5%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.62, 47.94, -60.47)
CIE-LCHlch(43.62, 77.17, 308.41°)
OKLaboklab(53.46% 0.0837 -0.1724)
OKLCHoklch(53.46% 0.192 295.9)
XYZxyz(21.5587, 13.5771, 59.2306)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BCD #9ECD4B
analogous
#4B5DCD #7A4BCD #BB4BCD
triadic
#7A4BCD #CD7A4B #4BCD7A
tetradic
#7A4BCD #CD4B5D #9ECD4B #4BCDBB
square
#7A4BCD #CD4B5D #9ECD4B #4BCDBB
split-complementary
#7A4BCD #CDBB4B #5DCD4B
monochromatic
#42227B #5C30AB #7A4BCD #9D7BDA #C1ABE8

Accessibility & contrast

On white

5.65
#7A4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7A4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BCD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BCD#FFFFFF#000000##FFFFFF
##7A4BCD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#656985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4bcd;
/* rgb */ color: rgb(122, 75, 205);
/* oklch */ color: oklch(53.5% 0.192 295.9);
Tailwind
colors: {
  custom: {
    50: '#a680dd',
    500: '#7a4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bcd;
$custom-light: #a680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bcd",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 261.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.19165,
    "h": 295.9
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#7A4BCD
secondary
#C1D59F
accent
#E048A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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