#7A4BBC#7A4BBC

#7A4BBC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.171 H 299.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7A4BBC
RGBrgb(122, 75, 188)
HSLhsl(265, 46%, 52%)
HSVhsv(265, 60%, 74%)
CMYKcmyk(35.1%, 60.1%, 0%, 26.3%)
CIE-LABlab(42.46, 43.50, -52.47)
CIE-LCHlch(42.46, 68.16, 309.66°)
OKLaboklab(52.25% 0.0847 -0.1489)
OKLCHoklch(52.25% 0.171 299.6)
XYZxyz(19.6170, 12.8004, 49.0044)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BBC #8DBC4B
analogous
#4B55BC #7A4BBC #B34BBC
triadic
#7A4BBC #BC7A4B #4BBC7A
tetradic
#7A4BBC #BC4B55 #8DBC4B #4BBCB3
square
#7A4BBC #BC4B55 #8DBC4B #4BBCB3
split-complementary
#7A4BBC #BCB34B #55BC4B
monochromatic
#412666 #5D3793 #7A4BBC #9B78CD #BCA4DD

Accessibility & contrast

On white

5.90
#7A4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7A4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BBC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BBC#FFFFFF#000000##FFFFFF
##7A4BBC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0264C0
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#6C637C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4bbc;
/* rgb */ color: rgb(122, 75, 188);
/* oklch */ color: oklch(52.3% 0.171 299.6);
Tailwind
colors: {
  custom: {
    50: '#a57fd1',
    500: '#7a4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bbc;
$custom-light: #a57fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bbc",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 264.956,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.1713,
    "h": 299.6
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#7A4BBC
secondary
#B6CA99
accent
#D5529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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