#7B4DBE#7B4DBE

#7B4DBE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.171 H 299.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B4DBE
RGBrgb(123, 77, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 59%, 75%)
CMYKcmyk(35.3%, 59.5%, 0%, 25.5%)
CIE-LABlab(43.12, 43.15, -52.58)
CIE-LCHlch(43.12, 68.02, 309.37°)
OKLaboklab(52.8% 0.0835 -0.1492)
OKLCHoklch(52.8% 0.171 299.2)
XYZxyz(20.1142, 13.2362, 50.2003)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DBE #90BE4D
analogous
#4D57BE #7B4DBE #B44DBE
triadic
#7B4DBE #BE7B4D #4DBE7B
tetradic
#7B4DBE #BE4D57 #90BE4D #4DBEB4
square
#7B4DBE #BE4D57 #90BE4D #4DBEB4
split-complementary
#7B4DBE #BEB44D #57BE4D
monochromatic
#42276A #5E3797 #7B4DBE #9C7ACE #BDA7DF

Accessibility & contrast

On white

5.76
#7B4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7B4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DBE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DBE#FFFFFF#000000##FFFFFF
##7B4DBE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C2
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#6C657E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4dbe;
/* rgb */ color: rgb(123, 77, 190);
/* oklch */ color: oklch(52.8% 0.171 299.2);
Tailwind
colors: {
  custom: {
    50: '#a581d2',
    500: '#7b4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dbe;
$custom-light: #a581d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dbe",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 264.425,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.17098,
    "h": 299.2
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#7B4DBE
secondary
#B8CC9B
accent
#D652A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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