#7B4CC4#7B4CC4

#7B4CC4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.180 H 298.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7B4CC4
RGBrgb(123, 76, 196)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 61%, 77%)
CMYKcmyk(37.2%, 61.2%, 0%, 23.1%)
CIE-LABlab(43.31, 45.25, -55.76)
CIE-LCHlch(43.31, 71.82, 309.06°)
OKLaboklab(53.07% 0.0845 -0.1585)
OKLCHoklch(53.07% 0.18 298)
XYZxyz(20.7141, 13.3651, 53.7022)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CC4 #95C44C
analogous
#4C59C4 #7B4CC4 #B74CC4
triadic
#7B4CC4 #C47B4C #4CC47B
tetradic
#7B4CC4 #C44C59 #95C44C #4CC4B7
square
#7B4CC4 #C44C59 #95C44C #4CC4B7
split-complementary
#7B4CC4 #C4B74C #59C44C
monochromatic
#432571 #5E349F #7B4CC4 #9D7AD3 #BFA8E2

Accessibility & contrast

On white

5.72
#7B4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7B4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CC4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CC4#FFFFFF#000000##FFFFFF
##7B4CC41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1865C1
Tritanopia (blue-blind)
#6A6681
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4cc4;
/* rgb */ color: rgb(123, 76, 196);
/* oklch */ color: oklch(53.1% 0.180 298.0);
Tailwind
colors: {
  custom: {
    50: '#a680d7',
    500: '#7b4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cc4;
$custom-light: #a680d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cc4",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 263.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.17965,
    "h": 298
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#7B4CC4
secondary
#BBD09C
accent
#DA4EA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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