#7A4CBF#7A4CBF

#7A4CBF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.173 H 298.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7A4CBF
RGBrgb(122, 76, 191)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 60%, 75%)
CMYKcmyk(36.1%, 60.2%, 0%, 25.1%)
CIE-LABlab(42.87, 43.73, -53.57)
CIE-LCHlch(42.87, 69.15, 309.22°)
OKLaboklab(52.61% 0.0833 -0.1521)
OKLCHoklch(52.61% 0.173 298.7)
XYZxyz(20.0121, 13.0678, 50.7481)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CBF #91BF4C
analogous
#4C58BF #7A4CBF #B34CBF
triadic
#7A4CBF #BF7A4C #4CBF7A
tetradic
#7A4CBF #BF4C58 #91BF4C #4CBFB3
square
#7A4CBF #BF4C58 #91BF4C #4CBFB3
split-complementary
#7A4CBF #BFB34C #58BF4C
monochromatic
#41266B #5D3698 #7A4CBF #9B79CF #BDA6DF

Accessibility & contrast

On white

5.81
#7A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7A4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CBF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CBF#FFFFFF#000000##FFFFFF
##7A4CBF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#6B657E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4cbf;
/* rgb */ color: rgb(122, 76, 191);
/* oklch */ color: oklch(52.6% 0.173 298.7);
Tailwind
colors: {
  custom: {
    50: '#a580d3',
    500: '#7a4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cbf;
$custom-light: #a580d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cbf",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 264,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.17348,
    "h": 298.7
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#7A4CBF
secondary
#B8CC9A
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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