#7B4EC3#7B4EC3

#7B4EC3 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.176 H 297.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B4EC3
RGBrgb(123, 78, 195)
HSLhsl(263, 49%, 54%)
HSVhsv(263, 60%, 76%)
CMYKcmyk(36.9%, 60%, 0%, 23.5%)
CIE-LABlab(43.65, 43.90, -54.63)
CIE-LCHlch(43.65, 70.08, 308.78°)
OKLaboklab(53.3% 0.0822 -0.1552)
OKLCHoklch(53.3% 0.176 297.9)
XYZxyz(20.7406, 13.5996, 53.1514)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EC3 #96C34E
analogous
#4E5BC3 #7B4EC3 #B54EC3
triadic
#7B4EC3 #C37B4E #4EC37B
tetradic
#7B4EC3 #C34E5B #96C34E #4EC3B5
square
#7B4EC3 #C34E5B #96C34E #4EC3B5
split-complementary
#7B4EC3 #C3B54E #5BC34E
monochromatic
#432670 #5E369E #7B4EC3 #9D7CD2 #BFA9E2

Accessibility & contrast

On white

5.65
#7B4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B4EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EC3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EC3#FFFFFF#000000##FFFFFF
##7B4EC31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#6A6781
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4ec3;
/* rgb */ color: rgb(123, 78, 195);
/* oklch */ color: oklch(53.3% 0.176 297.9);
Tailwind
colors: {
  custom: {
    50: '#a681d6',
    500: '#7b4ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ec3;
$custom-light: #a681d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ec3",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 263.077,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53296,
    "c": 0.17561,
    "h": 297.9
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#7B4EC3
secondary
#BCCF9D
accent
#D94FA4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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