#7A4FBE#7A4FBE

#7A4FBE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.168 H 298.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7A4FBE
RGBrgb(122, 79, 190)
HSLhsl(263, 46%, 53%)
HSVhsv(263, 58%, 75%)
CMYKcmyk(35.8%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.43, 41.80, -52.08)
CIE-LCHlch(43.43, 66.78, 308.75°)
OKLaboklab(53% 0.0797 -0.1478)
OKLCHoklch(53% 0.168 298.3)
XYZxyz(20.1140, 13.4470, 50.2410)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FBE #93BE4F
analogous
#4F5CBE #7A4FBE #B14FBE
triadic
#7A4FBE #BE7A4F #4FBE7A
tetradic
#7A4FBE #BE4F5C #93BE4F #4FBEB1
square
#7A4FBE #BE4F5C #93BE4F #4FBEB1
split-complementary
#7A4FBE #BEB14F #5CBE4F
monochromatic
#42286B #5D3898 #7A4FBE #9C7CCF #BEA8DF

Accessibility & contrast

On white

5.69
#7A4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7A4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FBE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FBE#FFFFFF#000000##FFFFFF
##7A4FBE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#6B667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4fbe;
/* rgb */ color: rgb(122, 79, 190);
/* oklch */ color: oklch(53.0% 0.168 298.3);
Tailwind
colors: {
  custom: {
    50: '#a582d2',
    500: '#7a4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fbe;
$custom-light: #a582d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fbe",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 263.243,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.1679,
    "h": 298.3
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#7A4FBE
secondary
#BACC9C
accent
#D652A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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