#7B4EE6#7B4EE6

#7B4EE6 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.217 H 291.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7B4EE6
RGBrgb(123, 78, 230)
HSLhsl(258, 75%, 60%)
HSVhsv(258, 66%, 90%)
CMYKcmyk(46.5%, 66.1%, 0%, 9.8%)
CIE-LABlab(46.14, 53.25, -70.65)
CIE-LCHlch(46.14, 88.47, 307.00°)
OKLaboklab(55.88% 0.0791 -0.2023)
OKLCHoklch(55.88% 0.217 291.4)
XYZxyz(25.1717, 15.3720, 76.4884)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE6 #B9E64E
analogous
#4E6DE6 #7B4EE6 #C74EE6
triadic
#7B4EE6 #E67B4E #4EE67B
tetradic
#7B4EE6 #E64E6D #B9E64E #4EE6C7
square
#7B4EE6 #E64E6D #B9E64E #4EE6C7
split-complementary
#7B4EE6 #E6C74E #6DE64E
monochromatic
#4017A3 #561FD8 #7B4EE6 #A384EE #CBB9F5

Accessibility & contrast

On white

5.15
#7B4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7B4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE6#FFFFFF#000000##FFFFFF
##7B4EE61.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#5A7394
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4ee6;
/* rgb */ color: rgb(123, 78, 230);
/* oklch */ color: oklch(55.9% 0.217 291.4);
Tailwind
colors: {
  custom: {
    50: '#a982ef',
    500: '#7b4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee6;
$custom-light: #a982ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee6",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 257.763,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.21725,
    "h": 291.4
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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