#7B4FEB#7B4FEB

#7B4FEB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.222 H 290.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7B4FEB
RGBrgb(123, 79, 235)
HSLhsl(257, 80%, 62%)
HSVhsv(257, 66%, 92%)
CMYKcmyk(47.7%, 66.4%, 0%, 7.8%)
CIE-LABlab(46.71, 54.08, -72.55)
CIE-LCHlch(46.71, 90.49, 306.70°)
OKLaboklab(56.41% 0.0775 -0.2079)
OKLCHoklch(56.41% 0.222 290.4)
XYZxyz(25.9555, 15.8001, 80.2633)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FEB #BFEB4F
analogous
#4F71EB #7B4FEB #C94FEB
triadic
#7B4FEB #EB7B4F #4FEB7B
tetradic
#7B4FEB #EB4F71 #BFEB4F #4FEBC9
square
#7B4FEB #EB4F71 #BFEB4F #4FEBC9
split-complementary
#7B4FEB #EBC94F #71EB4F
monochromatic
#3F14AC #531AE3 #7B4FEB #A486F1 #CDBDF7

Accessibility & contrast

On white

5.05
#7B4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7B4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FEB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FEB#FFFFFF#000000##FFFFFF
##7B4FEB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#567697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4feb;
/* rgb */ color: rgb(123, 79, 235);
/* oklch */ color: oklch(56.4% 0.222 290.4);
Tailwind
colors: {
  custom: {
    50: '#aa83f2',
    500: '#7b4feb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4feb;
$custom-light: #aa83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4feb",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 256.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.22186,
    "h": 290.4
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#7B4FEB
secondary
#D8E8AE
accent
#DC0AA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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