#7B4DE1#7B4DE1

#7B4DE1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.213 H 292.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7B4DE1
RGBrgb(123, 77, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 66%, 88%)
CMYKcmyk(45.3%, 65.8%, 0%, 11.8%)
CIE-LABlab(45.57, 52.42, -68.74)
CIE-LCHlch(45.57, 86.45, 307.33°)
OKLaboklab(55.36% 0.0808 -0.1967)
OKLCHoklch(55.36% 0.213 292.3)
XYZxyz(24.4091, 14.9542, 72.8199)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DE1 #B3E14D
analogous
#4D69E1 #7B4DE1 #C54DE1
triadic
#7B4DE1 #E17B4D #4DE17B
tetradic
#7B4DE1 #E14D69 #B3E14D #4DE1C5
square
#7B4DE1 #E14D69 #B3E14D #4DE1C5
split-complementary
#7B4DE1 #E1C54D #69E14D
monochromatic
#421A9A #5823CE #7B4DE1 #A281EA #C9B6F3

Accessibility & contrast

On white

5.26
#7B4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7B4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DE1#FFFFFF#000000##FFFFFF
##7B4DE11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#5D7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4de1;
/* rgb */ color: rgb(123, 77, 225);
/* oklch */ color: oklch(55.4% 0.213 292.3);
Tailwind
colors: {
  custom: {
    50: '#a982eb',
    500: '#7b4de1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4de1;
$custom-light: #a982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4de1",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 258.649,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.21265,
    "h": 292.3
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#7B4DE1
secondary
#D0E2A8
accent
#EE3AB6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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