#7B4EDA#7B4EDA

#7B4EDA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.203 H 293.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B4EDA
RGBrgb(123, 78, 218)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(43.6%, 64.2%, 0%, 14.5%)
CIE-LABlab(45.25, 50.01, -65.28)
CIE-LCHlch(45.25, 82.23, 307.45°)
OKLaboklab(54.96% 0.0805 -0.1865)
OKLCHoklch(54.96% 0.203 293.4)
XYZxyz(23.5442, 14.7210, 67.9170)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EDA #ADDA4E
analogous
#4E67DA #7B4EDA #C14EDA
triadic
#7B4EDA #DA7B4E #4EDA7B
tetradic
#7B4EDA #DA4E67 #ADDA4E #4EDAC1
square
#7B4EDA #DA4E67 #ADDA4E #4EDAC1
split-complementary
#7B4EDA #DAC14E #67DA4E
monochromatic
#431E90 #5A29C2 #7B4EDA #A181E5 #C6B3EF

Accessibility & contrast

On white

5.32
#7B4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7B4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EDA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EDA#FFFFFF#000000##FFFFFF
##7B4EDA1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#606F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4eda;
/* rgb */ color: rgb(123, 78, 218);
/* oklch */ color: oklch(55.0% 0.203 293.4);
Tailwind
colors: {
  custom: {
    50: '#a882e6',
    500: '#7b4eda',
    950: '#000000',
  },
}
SCSS
$custom: #7b4eda;
$custom-light: #a882e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4eda",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 259.286,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.20318,
    "h": 293.4
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#7B4EDA
secondary
#CCDEA6
accent
#E83FB2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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