#7B4DCF#7B4DCF

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

Color values

HEX#7B4DCF
RGBrgb(123, 77, 207)
HSLhsl(261, 58%, 56%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(40.6%, 62.8%, 0%, 18.8%)
CIE-LABlab(44.27, 47.61, -60.57)
CIE-LCHlch(44.27, 77.04, 308.17°)
OKLaboklab(54% 0.0826 -0.1727)
OKLCHoklch(54% 0.191 295.6)
XYZxyz(22.0818, 14.0232, 60.5627)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DCF #A1CF4D
analogous
#4D60CF #7B4DCF #BC4DCF
triadic
#7B4DCF #CF7B4D #4DCF7B
tetradic
#7B4DCF #CF4D60 #A1CF4D #4DCFBC
square
#7B4DCF #CF4D60 #A1CF4D #4DCFBC
split-complementary
#7B4DCF #CFBC4D #60CF4D
monochromatic
#43227F #5D2FAF #7B4DCF #9F7DDC #C2ADE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B4DCF#FFFFFF#000000##FFFFFF
##7B4DCF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#656B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4dcf;
/* rgb */ color: rgb(123, 77, 207);
/* oklch */ color: oklch(54.0% 0.191 295.6);
Tailwind
colors: {
  custom: {
    50: '#a781de',
    500: '#7b4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dcf;
$custom-light: #a781de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dcf",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 261.231,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.19144,
    "h": 295.6
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#7B4DCF
secondary
#C4D7A1
accent
#E147AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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