#7B4EF4#7B4EF4

#7B4EF4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.233 H 289.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7B4EF4
RGBrgb(123, 78, 244)
HSLhsl(256, 88%, 63%)
HSVhsv(256, 68%, 96%)
CMYKcmyk(49.6%, 68%, 0%, 4.3%)
CIE-LABlab(47.22, 57.05, -76.77)
CIE-LCHlch(47.22, 95.65, 306.62°)
OKLaboklab(57% 0.077 -0.2203)
OKLCHoklch(57% 0.233 289.3)
XYZxyz(27.2172, 16.1902, 87.2613)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EF4 #C7F44E
analogous
#4E74F4 #7B4EF4 #CE4EF4
triadic
#7B4EF4 #F47B4E #4EF47B
tetradic
#7B4EF4 #F44E74 #C7F44E #4EF4CE
square
#7B4EF4 #F44E74 #C7F44E #4EF4CE
split-complementary
#7B4EF4 #F4CE4E #74F44E
monochromatic
#3B0CBC #5014F0 #7B4EF4 #A688F8 #D1C1FB

Accessibility & contrast

On white

4.95
#7B4EF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B4EF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EF4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EF4#FFFFFF#000000##FFFFFF
##7B4EF41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#50789B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b4ef4;
/* rgb */ color: rgb(123, 78, 244);
/* oklch */ color: oklch(57.0% 0.233 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab83f9',
    500: '#7b4ef4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ef4;
$custom-light: #ab83f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ef4",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 244
  },
  "hsl": {
    "h": 256.265,
    "s": 88.298,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.23338,
    "h": 289.3
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#7B4EF4
secondary
#DDEDB1
accent
#E501A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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