#7B4CD1#7B4CD1

#7B4CD1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.195 H 295.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD1
RGBrgb(123, 76, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.1%, 63.6%, 0%, 18%)
CIE-LABlab(44.21, 48.67, -61.82)
CIE-LCHlch(44.21, 78.68, 308.22°)
OKLaboklab(54% 0.0836 -0.1763)
OKLCHoklch(54% 0.195 295.4)
XYZxyz(22.2584, 13.9828, 61.8355)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD1 #A2D14C
analogous
#4C5FD1 #7B4CD1 #BD4CD1
triadic
#7B4CD1 #D17B4C #4CD17B
tetradic
#7B4CD1 #D14C5F #A2D14C #4CD1BD
square
#7B4CD1 #D14C5F #A2D14C #4CD1BD
split-complementary
#7B4CD1 #D1BD4C #5FD14C
monochromatic
#432181 #5D2EB2 #7B4CD1 #9F7DDE #C3ADEA

Accessibility & contrast

On white

5.53
#7B4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7B4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CD1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD1#FFFFFF#000000##FFFFFF
##7B4CD11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4cd1;
/* rgb */ color: rgb(123, 76, 209);
/* oklch */ color: oklch(54.0% 0.195 295.4);
Tailwind
colors: {
  custom: {
    50: '#a781e0',
    500: '#7b4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd1;
$custom-light: #a781e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd1",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 261.203,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.19514,
    "h": 295.4
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#7B4CD1
secondary
#C4D8A1
accent
#E246AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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