#7B4EBE#7B4EBE

#7B4EBE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.170 H 299.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B4EBE
RGBrgb(123, 78, 190)
HSLhsl(264, 46%, 53%)
HSVhsv(264, 59%, 75%)
CMYKcmyk(35.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(43.33, 42.59, -52.24)
CIE-LCHlch(43.33, 67.41, 309.19°)
OKLaboklab(52.95% 0.0823 -0.1482)
OKLCHoklch(52.95% 0.17 299)
XYZxyz(20.1847, 13.3772, 50.2239)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EBE #91BE4E
analogous
#4E59BE #7B4EBE #B34EBE
triadic
#7B4EBE #BE7B4E #4EBE7B
tetradic
#7B4EBE #BE4E59 #91BE4E #4EBEB3
square
#7B4EBE #BE4E59 #91BE4E #4EBEB3
split-complementary
#7B4EBE #BEB34E #59BE4E
monochromatic
#42276A #5E3897 #7B4EBE #9C7BCE #BEA8DF

Accessibility & contrast

On white

5.71
#7B4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EBE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EBE#FFFFFF#000000##FFFFFF
##7B4EBE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#6C657E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4ebe;
/* rgb */ color: rgb(123, 78, 190);
/* oklch */ color: oklch(53.0% 0.170 299.0);
Tailwind
colors: {
  custom: {
    50: '#a581d2',
    500: '#7b4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ebe;
$custom-light: #a581d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ebe",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 264.107,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.16951,
    "h": 299
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#7B4EBE
secondary
#B9CC9C
accent
#D652A1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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