#7B4AED#7B4AED

#7B4AED is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.230 H 290.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B4AED
RGBrgb(123, 74, 237)
HSLhsl(258, 82%, 61%)
HSVhsv(258, 69%, 93%)
CMYKcmyk(48.1%, 68.8%, 0%, 7.1%)
CIE-LABlab(45.94, 57.19, -74.94)
CIE-LCHlch(45.94, 94.26, 307.35°)
OKLaboklab(55.9% 0.0818 -0.2149)
OKLCHoklch(55.9% 0.23 290.8)
XYZxyz(25.8989, 15.2219, 81.6779)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AED #BCED4A
analogous
#4A6AED #7B4AED #CD4AED
triadic
#7B4AED #ED7B4A #4AED7B
tetradic
#7B4AED #ED4A6A #BCED4A #4AEDCD
square
#7B4AED #ED4A6A #BCED4A #4AEDCD
split-complementary
#7B4AED #EDCD4A #6AED4A
monochromatic
#3F11AC #5417E3 #7B4AED #A482F3 #CCB9F8

Accessibility & contrast

On white

5.19
#7B4AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B4AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AED#FFFFFF#000000##FFFFFF
##7B4AED1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#567496
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4aed;
/* rgb */ color: rgb(123, 74, 237);
/* oklch */ color: oklch(55.9% 0.230 290.8);
Tailwind
colors: {
  custom: {
    50: '#aa80f4',
    500: '#7b4aed',
    950: '#000000',
  },
}
SCSS
$custom: #7b4aed;
$custom-light: #aa80f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4aed",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 258.037,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.22994,
    "h": 290.8
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#7B4AED
secondary
#D6E8AB
accent
#DE079E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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