#7B4FE8#7B4FE8

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

Color values

HEX#7B4FE8
RGBrgb(123, 79, 232)
HSLhsl(257, 77%, 61%)
HSVhsv(257, 66%, 91%)
CMYKcmyk(47%, 65.9%, 0%, 9%)
CIE-LABlab(46.48, 53.27, -71.22)
CIE-LCHlch(46.48, 88.94, 306.79°)
OKLaboklab(56.18% 0.0779 -0.204)
OKLCHoklch(56.18% 0.218 290.9)
XYZxyz(25.5257, 15.6282, 77.9999)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE8 #BCE84F
analogous
#4F6FE8 #7B4FE8 #C74FE8
triadic
#7B4FE8 #E87B4F #4FE87B
tetradic
#7B4FE8 #E84F6F #BCE84F #4FE8C7
square
#7B4FE8 #E84F6F #BCE84F #4FE8C7
split-complementary
#7B4FE8 #E8C74F #6FE84F
monochromatic
#3F16A7 #541DDD #7B4FE8 #A485EF #CCBBF6

Accessibility & contrast

On white

5.09
#7B4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE8#FFFFFF#000000##FFFFFF
##7B4FE81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#587595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4fe8;
/* rgb */ color: rgb(123, 79, 232);
/* oklch */ color: oklch(56.2% 0.218 290.9);
Tailwind
colors: {
  custom: {
    50: '#a983f0',
    500: '#7b4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe8;
$custom-light: #a983f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe8",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 257.255,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.21838,
    "h": 290.9
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#7B4FE8
secondary
#D6E6AD
accent
#D90C9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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