#7B4CD0#7B4CD0

#7B4CD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.194 H 295.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD0
RGBrgb(123, 76, 208)
HSLhsl(261, 58%, 56%)
HSVhsv(261, 63%, 82%)
CMYKcmyk(40.9%, 63.5%, 0%, 18.4%)
CIE-LABlab(44.14, 48.41, -61.36)
CIE-LCHlch(44.14, 78.15, 308.27°)
OKLaboklab(53.93% 0.0836 -0.175)
OKLCHoklch(53.93% 0.194 295.5)
XYZxyz(22.1350, 13.9334, 61.1855)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD0 #A1D04C
analogous
#4C5FD0 #7B4CD0 #BD4CD0
triadic
#7B4CD0 #D07B4C #4CD07B
tetradic
#7B4CD0 #D04C5F #A1D04C #4CD0BD
square
#7B4CD0 #D04C5F #A1D04C #4CD0BD
split-complementary
#7B4CD0 #D0BD4C #5FD04C
monochromatic
#432280 #5D2EB0 #7B4CD0 #9F7CDD #C2ADE9

Accessibility & contrast

On white

5.55
#7B4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CD0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD0#FFFFFF#000000##FFFFFF
##7B4CD01.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#656A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4cd0;
/* rgb */ color: rgb(123, 76, 208);
/* oklch */ color: oklch(53.9% 0.194 295.5);
Tailwind
colors: {
  custom: {
    50: '#a781df',
    500: '#7b4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd0;
$custom-light: #a781df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd0",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 261.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.19396,
    "h": 295.5
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#7B4CD0
secondary
#C4D7A0
accent
#E246AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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