#7B4DD6#7B4DD6

#7B4DD6 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.200 H 294.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B4DD6
RGBrgb(123, 77, 214)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.5%, 64%, 0%, 16.1%)
CIE-LABlab(44.76, 49.47, -63.78)
CIE-LCHlch(44.76, 80.72, 307.80°)
OKLaboklab(54.52% 0.082 -0.1821)
OKLCHoklch(54.52% 0.2 294.2)
XYZxyz(22.9566, 14.3732, 65.1701)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DD6 #A8D64D
analogous
#4D64D6 #7B4DD6 #C04DD6
triadic
#7B4DD6 #D67B4D #4DD67B
tetradic
#7B4DD6 #D64D64 #A8D64D #4DD6C0
square
#7B4DD6 #D64D64 #A8D64D #4DD6C0
split-complementary
#7B4DD6 #D6C04D #64D64D
monochromatic
#432089 #5B2BBB #7B4DD6 #A07FE1 #C5B0ED

Accessibility & contrast

On white

5.42
#7B4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DD6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DD6#FFFFFF#000000##FFFFFF
##7B4DD61.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#626D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4dd6;
/* rgb */ color: rgb(123, 77, 214);
/* oklch */ color: oklch(54.5% 0.200 294.2);
Tailwind
colors: {
  custom: {
    50: '#a881e3',
    500: '#7b4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dd6;
$custom-light: #a881e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dd6",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 260.146,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.19975,
    "h": 294.2
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#7B4DD6
secondary
#C9DBA4
accent
#E642AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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