#7A4BCC#7A4BCC

#7A4BCC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.190 H 296.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A4BCC
RGBrgb(122, 75, 204)
HSLhsl(262, 56%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(40.2%, 63.2%, 0%, 20%)
CIE-LABlab(43.55, 47.68, -60.01)
CIE-LCHlch(43.55, 76.65, 308.47°)
OKLaboklab(53.39% 0.0837 -0.1711)
OKLCHoklch(53.39% 0.19 296.1)
XYZxyz(21.4384, 13.5289, 58.5969)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BCC #9DCC4B
analogous
#4B5DCC #7A4BCC #BA4BCC
triadic
#7A4BCC #CC7A4B #4BCC7A
tetradic
#7A4BCC #CC4B5D #9DCC4B #4BCCBA
square
#7A4BCC #CC4B5D #9DCC4B #4BCCBA
split-complementary
#7A4BCC #CCBA4B #5DCC4B
monochromatic
#42237A #5C30AA #7A4BCC #9D7BDA #C0AAE7

Accessibility & contrast

On white

5.67
#7A4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7A4BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BCC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BCC#FFFFFF#000000##FFFFFF
##7A4BCC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#656885
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4bcc;
/* rgb */ color: rgb(122, 75, 204);
/* oklch */ color: oklch(53.4% 0.190 296.1);
Tailwind
colors: {
  custom: {
    50: '#a680dc',
    500: '#7a4bcc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bcc;
$custom-light: #a680dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bcc",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 261.86,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.19045,
    "h": 296.1
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#7A4BCC
secondary
#C1D59E
accent
#DF49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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