#7B4FEC#7B4FEC

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

Color values

HEX#7B4FEC
RGBrgb(123, 79, 236)
HSLhsl(257, 81%, 62%)
HSVhsv(257, 67%, 93%)
CMYKcmyk(47.9%, 66.5%, 0%, 7.5%)
CIE-LABlab(46.79, 54.36, -72.98)
CIE-LCHlch(46.79, 91.00, 306.68°)
OKLaboklab(56.49% 0.0773 -0.2092)
OKLCHoklch(56.49% 0.223 290.3)
XYZxyz(26.1004, 15.8580, 81.0263)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FEC #C0EC4F
analogous
#4F72EC #7B4FEC #C94FEC
triadic
#7B4FEC #EC7B4F #4FEC7B
tetradic
#7B4FEC #EC4F72 #C0EC4F #4FECC9
square
#7B4FEC #EC4F72 #C0EC4F #4FECC9
split-complementary
#7B4FEC #ECC94F #72EC4F
monochromatic
#3E13AE #5219E5 #7B4FEC #A486F2 #CEBDF8

Accessibility & contrast

On white

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

On black

4.17
#7B4FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B4FEC#FFFFFF#000000##FFFFFF
##7B4FEC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#567697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4fec;
/* rgb */ color: rgb(123, 79, 236);
/* oklch */ color: oklch(56.5% 0.223 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa83f3',
    500: '#7b4fec',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fec;
$custom-light: #aa83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fec",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 256.815,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.22303,
    "h": 290.3
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#7B4FEC
secondary
#D8E8AE
accent
#DD09A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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