#7A4BBB#7A4BBB

#7A4BBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.170 H 299.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7A4BBB
RGBrgb(122, 75, 187)
HSLhsl(265, 45%, 51%)
HSVhsv(265, 60%, 73%)
CMYKcmyk(34.8%, 59.9%, 0%, 26.7%)
CIE-LABlab(42.40, 43.24, -52.00)
CIE-LCHlch(42.40, 67.63, 309.75°)
OKLaboklab(52.19% 0.0847 -0.1475)
OKLCHoklch(52.19% 0.17 299.9)
XYZxyz(19.5096, 12.7574, 48.4387)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BBB #8CBB4B
analogous
#4B54BB #7A4BBB #B24BBB
triadic
#7A4BBB #BB7A4B #4BBB7A
tetradic
#7A4BBB #BB4B54 #8CBB4B #4BBBB2
square
#7A4BBB #BB4B54 #8CBB4B #4BBBB2
split-complementary
#7A4BBB #BBB24B #54BB4B
monochromatic
#412665 #5D3792 #7A4BBB #9B77CC #BCA4DD

Accessibility & contrast

On white

5.91
#7A4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7A4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BBB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BBB#FFFFFF#000000##FFFFFF
##7A4BBB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#6C637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4bbb;
/* rgb */ color: rgb(122, 75, 187);
/* oklch */ color: oklch(52.2% 0.170 299.9);
Tailwind
colors: {
  custom: {
    50: '#a57fd0',
    500: '#7a4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bbb;
$custom-light: #a57fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bbb",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 265.179,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.17009,
    "h": 299.9
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#7A4BBB
secondary
#B5CA98
accent
#D5539E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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