#7B4CD9#7B4CD9

#7B4CD9 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.205 H 293.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD9
RGBrgb(123, 76, 217)
HSLhsl(260, 65%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.3%, 65%, 0%, 14.9%)
CIE-LABlab(44.79, 50.80, -65.46)
CIE-LCHlch(44.79, 82.86, 307.81°)
OKLaboklab(54.6% 0.0827 -0.1871)
OKLCHoklch(54.6% 0.205 293.9)
XYZxyz(23.2738, 14.3890, 67.1833)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD9 #AAD94C
analogous
#4C64D9 #7B4CD9 #C24CD9
triadic
#7B4CD9 #D97B4C #4CD97B
tetradic
#7B4CD9 #D94C64 #AAD94C #4CD9C2
square
#7B4CD9 #D94C64 #AAD94C #4CD9C2
split-complementary
#7B4CD9 #D9C24C #64D94C
monochromatic
#431E8D #5B29BF #7B4CD9 #A07EE4 #C5B1EE

Accessibility & contrast

On white

5.42
#7B4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7B4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CD9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD9#FFFFFF#000000##FFFFFF
##7B4CD91.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#616D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4cd9;
/* rgb */ color: rgb(123, 76, 217);
/* oklch */ color: oklch(54.6% 0.205 293.9);
Tailwind
colors: {
  custom: {
    50: '#a881e6',
    500: '#7b4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd9;
$custom-light: #a881e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd9",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 260,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.20456,
    "h": 293.9
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#7B4CD9
secondary
#CADDA4
accent
#E840B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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