#7B4CD8#7B4CD8

#7B4CD8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.203 H 294.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD8
RGBrgb(123, 76, 216)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.71, 50.54, -65.01)
CIE-LCHlch(44.71, 82.34, 307.86°)
OKLaboklab(54.53% 0.0828 -0.1857)
OKLCHoklch(54.53% 0.203 294)
XYZxyz(23.1441, 14.3371, 66.5004)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD8 #A9D84C
analogous
#4C63D8 #7B4CD8 #C14CD8
triadic
#7B4CD8 #D87B4C #4CD87B
tetradic
#7B4CD8 #D84C63 #A9D84C #4CD8C1
square
#7B4CD8 #D84C63 #A9D84C #4CD8C1
split-complementary
#7B4CD8 #D8C14C #63D84C
monochromatic
#431E8B #5B29BE #7B4CD8 #A07EE3 #C5B1EE

Accessibility & contrast

On white

5.43
#7B4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4CD8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD8#FFFFFF#000000##FFFFFF
##7B4CD81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#616D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4cd8;
/* rgb */ color: rgb(123, 76, 216);
/* oklch */ color: oklch(54.5% 0.203 294.0);
Tailwind
colors: {
  custom: {
    50: '#a881e5',
    500: '#7b4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd8;
$custom-light: #a881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd8",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 260.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.20339,
    "h": 294
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#7B4CD8
secondary
#C9DCA4
accent
#E741AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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