#7B4EE7#7B4EE7

#7B4EE7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.218 H 291.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B4EE7
RGBrgb(123, 78, 231)
HSLhsl(258, 76%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.8%, 66.2%, 0%, 9.4%)
CIE-LABlab(46.22, 53.52, -71.10)
CIE-LCHlch(46.22, 88.99, 306.97°)
OKLaboklab(55.96% 0.079 -0.2036)
OKLCHoklch(55.96% 0.218 291.2)
XYZxyz(25.3125, 15.4283, 77.2301)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE7 #BAE74E
analogous
#4E6DE7 #7B4EE7 #C74EE7
triadic
#7B4EE7 #E77B4E #4EE77B
tetradic
#7B4EE7 #E74E6D #BAE74E #4EE7C7
square
#7B4EE7 #E74E6D #BAE74E #4EE7C7
split-complementary
#7B4EE7 #E7C74E #6DE74E
monochromatic
#4016A4 #551EDA #7B4EE7 #A384EE #CBBAF6

Accessibility & contrast

On white

5.14
#7B4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE7#FFFFFF#000000##FFFFFF
##7B4EE71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#597494
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4ee7;
/* rgb */ color: rgb(123, 78, 231);
/* oklch */ color: oklch(56.0% 0.218 291.2);
Tailwind
colors: {
  custom: {
    50: '#a982f0',
    500: '#7b4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee7;
$custom-light: #a982f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee7",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 257.647,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.21841,
    "h": 291.2
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#7B4EE7
secondary
#D4E5AB
accent
#D80D9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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