#7B4DCE#7B4DCE

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

Color values

HEX#7B4DCE
RGBrgb(123, 77, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(40.3%, 62.6%, 0%, 19.2%)
CIE-LABlab(44.20, 47.34, -60.11)
CIE-LCHlch(44.20, 76.51, 308.22°)
OKLaboklab(53.93% 0.0827 -0.1713)
OKLCHoklch(53.93% 0.19 295.8)
XYZxyz(21.9599, 13.9745, 59.9209)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DCE #A0CE4D
analogous
#4D60CE #7B4DCE #BB4DCE
triadic
#7B4DCE #CE7B4D #4DCE7B
tetradic
#7B4DCE #CE4D60 #A0CE4D #4DCEBB
square
#7B4DCE #CE4D60 #A0CE4D #4DCEBB
split-complementary
#7B4DCE #CEBB4D #60CE4D
monochromatic
#43237E #5D30AE #7B4DCE #9F7DDB #C2ADE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B4DCE#FFFFFF#000000##FFFFFF
##7B4DCE1.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)
#0069D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#666A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4dce;
/* rgb */ color: rgb(123, 77, 206);
/* oklch */ color: oklch(53.9% 0.190 295.8);
Tailwind
colors: {
  custom: {
    50: '#a781de',
    500: '#7b4dce',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dce;
$custom-light: #a781de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dce",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 261.395,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53928,
    "c": 0.19025,
    "h": 295.8
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#7B4DCE
secondary
#C3D6A1
accent
#E048AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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