#7B4FD6#7B4FD6

#7B4FD6 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.197 H 293.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7B4FD6
RGBrgb(123, 79, 214)
HSLhsl(260, 62%, 57%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(42.5%, 63.1%, 0%, 16.1%)
CIE-LABlab(45.16, 48.40, -63.14)
CIE-LCHlch(45.16, 79.55, 307.47°)
OKLaboklab(54.81% 0.0799 -0.1802)
OKLCHoklch(54.81% 0.197 293.9)
XYZxyz(23.0987, 14.6573, 65.2174)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FD6 #AAD64F
analogous
#4F66D6 #7B4FD6 #BF4FD6
triadic
#7B4FD6 #D67B4F #4FD67B
tetradic
#7B4FD6 #D64F66 #AAD64F #4FD6BF
square
#7B4FD6 #D64F66 #AAD64F #4FD6BF
split-complementary
#7B4FD6 #D6BF4F #66D64F
monochromatic
#43208A #5B2CBC #7B4FD6 #A081E2 #C5B2ED

Accessibility & contrast

On white

5.34
#7B4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7B4FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FD6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FD6#FFFFFF#000000##FFFFFF
##7B4FD61.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#626E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4fd6;
/* rgb */ color: rgb(123, 79, 214);
/* oklch */ color: oklch(54.8% 0.197 293.9);
Tailwind
colors: {
  custom: {
    50: '#a783e3',
    500: '#7b4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fd6;
$custom-light: #a783e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fd6",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 259.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.19714,
    "h": 293.9
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#7B4FD6
secondary
#CADCA5
accent
#E543B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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