#7B4FE4#7B4FE4

#7B4FE4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.214 H 291.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7B4FE4
RGBrgb(123, 79, 228)
HSLhsl(258, 73%, 60%)
HSVhsv(258, 65%, 89%)
CMYKcmyk(46.1%, 65.4%, 0%, 10.6%)
CIE-LABlab(46.18, 52.18, -69.45)
CIE-LCHlch(46.18, 86.87, 306.92°)
OKLaboklab(55.86% 0.0784 -0.1988)
OKLCHoklch(55.86% 0.214 291.5)
XYZxyz(24.9640, 15.4035, 75.0416)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FE4 #B8E44F
analogous
#4F6EE4 #7B4FE4 #C54FE4
triadic
#7B4FE4 #E47B4F #4FE47B
tetradic
#7B4FE4 #E44F6E #B8E44F #4FE4C5
square
#7B4FE4 #E44F6E #B8E44F #4FE4C5
split-complementary
#7B4FE4 #E4C54F #6EE44F
monochromatic
#4119A0 #5621D5 #7B4FE4 #A384EC #CBB9F4

Accessibility & contrast

On white

5.15
#7B4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7B4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FE4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FE4#FFFFFF#000000##FFFFFF
##7B4FE41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#5B7393
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4fe4;
/* rgb */ color: rgb(123, 79, 228);
/* oklch */ color: oklch(55.9% 0.214 291.5);
Tailwind
colors: {
  custom: {
    50: '#a983ed',
    500: '#7b4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fe4;
$custom-light: #a983ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fe4",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 257.718,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.21371,
    "h": 291.5
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#7B4FE4
secondary
#D3E4AB
accent
#D6109B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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