#7B4CDA#7B4CDA

#7B4CDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.206 H 293.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B4CDA
RGBrgb(123, 76, 218)
HSLhsl(260, 66%, 58%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.6%, 65.1%, 0%, 14.5%)
CIE-LABlab(44.86, 51.07, -65.92)
CIE-LCHlch(44.86, 83.38, 307.77°)
OKLaboklab(54.68% 0.0826 -0.1884)
OKLCHoklch(54.68% 0.206 293.7)
XYZxyz(23.4043, 14.4411, 67.8704)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CDA #ABDA4C
analogous
#4C64DA #7B4CDA #C24CDA
triadic
#7B4CDA #DA7B4C #4CDA7B
tetradic
#7B4CDA #DA4C64 #ABDA4C #4CDAC2
square
#7B4CDA #DA4C64 #ABDA4C #4CDAC2
split-complementary
#7B4CDA #DAC24C #64DA4C
monochromatic
#431D8E #5B28C1 #7B4CDA #A07FE4 #C6B1EF

Accessibility & contrast

On white

5.40
#7B4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CDA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CDA#FFFFFF#000000##FFFFFF
##7B4CDA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#606E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4cda;
/* rgb */ color: rgb(123, 76, 218);
/* oklch */ color: oklch(54.7% 0.206 293.7);
Tailwind
colors: {
  custom: {
    50: '#a881e6',
    500: '#7b4cda',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cda;
$custom-light: #a881e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cda",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 259.859,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.20572,
    "h": 293.7
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#7B4CDA
secondary
#CBDDA4
accent
#E93FB1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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