#7B4EEA#7B4EEA

#7B4EEA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.222 H 290.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B4EEA
RGBrgb(123, 78, 234)
HSLhsl(257, 79%, 61%)
HSVhsv(257, 67%, 92%)
CMYKcmyk(47.4%, 66.7%, 0%, 8.2%)
CIE-LABlab(46.44, 54.33, -72.42)
CIE-LCHlch(46.44, 90.53, 306.88°)
OKLaboklab(56.19% 0.0786 -0.2075)
OKLCHoklch(56.19% 0.222 290.7)
XYZxyz(25.7398, 15.5993, 79.4807)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EEA #BDEA4E
analogous
#4E6FEA #7B4EEA #C94EEA
triadic
#7B4EEA #EA7B4E #4EEA7B
tetradic
#7B4EEA #EA4E6F #BDEA4E #4EEAC9
square
#7B4EEA #EA4E6F #BDEA4E #4EEAC9
split-complementary
#7B4EEA #EAC94E #6FEA4E
monochromatic
#3F14A9 #541BE0 #7B4EEA #A485F0 #CDBBF7

Accessibility & contrast

On white

5.10
#7B4EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7B4EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EEA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EEA#FFFFFF#000000##FFFFFF
##7B4EEA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#577596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4eea;
/* rgb */ color: rgb(123, 78, 234);
/* oklch */ color: oklch(56.2% 0.222 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa82f2',
    500: '#7b4eea',
    950: '#000000',
  },
}
SCSS
$custom: #7b4eea;
$custom-light: #aa82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4eea",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 257.308,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.22189,
    "h": 290.7
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#7B4EEA
secondary
#D6E7AD
accent
#DB0A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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