#7B4AE0#7B4AE0

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

Color values

HEX#7B4AE0
RGBrgb(123, 74, 224)
HSLhsl(260, 71%, 58%)
HSVhsv(260, 67%, 88%)
CMYKcmyk(45.1%, 67%, 0%, 12.2%)
CIE-LABlab(44.93, 53.71, -69.22)
CIE-LCHlch(44.93, 87.62, 307.81°)
OKLaboklab(54.87% 0.0838 -0.1981)
OKLCHoklch(54.87% 0.215 292.9)
XYZxyz(24.0680, 14.4896, 72.0352)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4AE0 #AFE04A
analogous
#4A64E0 #7B4AE0 #C64AE0
triadic
#7B4AE0 #E07B4A #4AE07B
tetradic
#7B4AE0 #E04A64 #AFE04A #4AE0C6
square
#7B4AE0 #E04A64 #AFE04A #4AE0C6
split-complementary
#7B4AE0 #E0C64A #64E04A
monochromatic
#421A96 #5923CA #7B4AE0 #A17EE9 #C7B3F2

Accessibility & contrast

On white

5.39
#7B4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7B4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4AE0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4AE0#FFFFFF#000000##FFFFFF
##7B4AE01.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#5D6F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4ae0;
/* rgb */ color: rgb(123, 74, 224);
/* oklch */ color: oklch(54.9% 0.215 292.9);
Tailwind
colors: {
  custom: {
    50: '#a980eb',
    500: '#7b4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ae0;
$custom-light: #a980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ae0",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 259.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.21513,
    "h": 292.9
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#7B4AE0
secondary
#CDE1A5
accent
#EE3AB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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