#7A4BBF#7A4BBF

#7A4BBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.175 H 298.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A4BBF
RGBrgb(122, 75, 191)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.66, 44.27, -53.91)
CIE-LCHlch(42.66, 69.76, 309.40°)
OKLaboklab(52.46% 0.0845 -0.1531)
OKLCHoklch(52.46% 0.175 298.9)
XYZxyz(19.9438, 12.9311, 50.7253)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BBF #90BF4B
analogous
#4B56BF #7A4BBF #B44BBF
triadic
#7A4BBF #BF7A4B #4BBF7A
tetradic
#7A4BBF #BF4B56 #90BF4B #4BBFB4
square
#7A4BBF #BF4B56 #90BF4B #4BBFB4
split-complementary
#7A4BBF #BFB44B #56BF4B
monochromatic
#41266A #5D3697 #7A4BBF #9B78CF #BDA5DF

Accessibility & contrast

On white

5.86
#7A4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BBF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BBF#FFFFFF#000000##FFFFFF
##7A4BBF1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1E64BC
Tritanopia (blue-blind)
#6B647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bbf;
/* rgb */ color: rgb(122, 75, 191);
/* oklch */ color: oklch(52.5% 0.175 298.9);
Tailwind
colors: {
  custom: {
    50: '#a57fd3',
    500: '#7a4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bbf;
$custom-light: #a57fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bbf",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 264.31,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.17491,
    "h": 298.9
  },
  "luminance": 0.12931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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