#7B4EEF#7B4EEF

#7B4EEF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.228 H 290.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B4EEF
RGBrgb(123, 78, 239)
HSLhsl(257, 83%, 62%)
HSVhsv(257, 67%, 94%)
CMYKcmyk(48.5%, 67.4%, 0%, 6.3%)
CIE-LABlab(46.83, 55.69, -74.60)
CIE-LCHlch(46.83, 93.10, 306.74°)
OKLaboklab(56.59% 0.0778 -0.2139)
OKLCHoklch(56.59% 0.228 290)
XYZxyz(26.4683, 15.8906, 83.3172)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EEF #C2EF4E
analogous
#4E72EF #7B4EEF #CB4EEF
triadic
#7B4EEF #EF7B4E #4EEF7B
tetradic
#7B4EEF #EF4E72 #C2EF4E #4EEFCB
square
#7B4EEF #EF4E72 #C2EF4E #4EEFCB
split-complementary
#7B4EEF #EFCB4E #72EF4E
monochromatic
#3E10B2 #5116EA #7B4EEF #A586F4 #CFBEF9

Accessibility & contrast

On white

5.03
#7B4EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B4EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EEF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EEF#FFFFFF#000000##FFFFFF
##7B4EEF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#547698
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4eef;
/* rgb */ color: rgb(123, 78, 239);
/* oklch */ color: oklch(56.6% 0.228 290.0);
Tailwind
colors: {
  custom: {
    50: '#aa83f5',
    500: '#7b4eef',
    950: '#000000',
  },
}
SCSS
$custom: #7b4eef;
$custom-light: #aa83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4eef",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 256.77,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.22765,
    "h": 290
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#7B4EEF
secondary
#D9EAAF
accent
#E006A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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