#7B4AE1#7B4AE1

#7B4AE1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.216 H 292.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B4AE1
RGBrgb(123, 74, 225)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(45.3%, 67.1%, 0%, 11.8%)
CIE-LABlab(45.00, 53.98, -69.67)
CIE-LCHlch(45.00, 88.13, 307.77°)
OKLaboklab(54.95% 0.0837 -0.1994)
OKLCHoklch(54.95% 0.216 292.8)
XYZxyz(24.2040, 14.5440, 72.7516)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AE1 #B0E14A
analogous
#4A64E1 #7B4AE1 #C64AE1
triadic
#7B4AE1 #E17B4A #4AE17B
tetradic
#7B4AE1 #E14A64 #B0E14A #4AE1C6
square
#7B4AE1 #E14A64 #B0E14A #4AE1C6
split-complementary
#7B4AE1 #E1C64A #64E14A
monochromatic
#421997 #5922CC #7B4AE1 #A17EEA #C8B3F2

Accessibility & contrast

On white

5.37
#7B4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AE1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AE1#FFFFFF#000000##FFFFFF
##7B4AE11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5D6F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4ae1;
/* rgb */ color: rgb(123, 74, 225);
/* oklch */ color: oklch(54.9% 0.216 292.8);
Tailwind
colors: {
  custom: {
    50: '#a980eb',
    500: '#7b4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ae1;
$custom-light: #a980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ae1",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 259.47,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.21628,
    "h": 292.8
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#7B4AE1
secondary
#CEE1A6
accent
#EE39B4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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