#7B4CD2#7B4CD2

#7B4CD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.196 H 295.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD2
RGBrgb(123, 76, 210)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.4%, 63.8%, 0%, 17.6%)
CIE-LABlab(44.28, 48.94, -62.28)
CIE-LCHlch(44.28, 79.20, 308.16°)
OKLaboklab(54.08% 0.0835 -0.1777)
OKLCHoklch(54.08% 0.196 295.2)
XYZxyz(22.3826, 14.0325, 62.4895)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD2 #A3D24C
analogous
#4C60D2 #7B4CD2 #BE4CD2
triadic
#7B4CD2 #D27B4C #4CD27B
tetradic
#7B4CD2 #D24C60 #A3D24C #4CD2BE
square
#7B4CD2 #D24C60 #A3D24C #4CD2BE
split-complementary
#7B4CD2 #D2BE4C #60D24C
monochromatic
#432183 #5C2DB4 #7B4CD2 #9F7DDE #C3AEEB

Accessibility & contrast

On white

5.52
#7B4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7B4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CD2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD2#FFFFFF#000000##FFFFFF
##7B4CD21.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#646B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4cd2;
/* rgb */ color: rgb(123, 76, 210);
/* oklch */ color: oklch(54.1% 0.196 295.2);
Tailwind
colors: {
  custom: {
    50: '#a781e1',
    500: '#7b4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd2;
$custom-light: #a781e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd2",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 261.045,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.19632,
    "h": 295.2
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#7B4CD2
secondary
#C5D9A1
accent
#E345AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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