#7B4FED#7B4FED

#7B4FED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.224 H 290.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B4FED
RGBrgb(123, 79, 237)
HSLhsl(257, 81%, 62%)
HSVhsv(257, 67%, 93%)
CMYKcmyk(48.1%, 66.7%, 0%, 7.1%)
CIE-LABlab(46.86, 54.63, -73.42)
CIE-LCHlch(46.86, 91.52, 306.65°)
OKLaboklab(56.57% 0.0772 -0.2105)
OKLCHoklch(56.57% 0.224 290.1)
XYZxyz(26.2461, 15.9163, 81.7936)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FED #C1ED4F
analogous
#4F72ED #7B4FED #CA4FED
triadic
#7B4FED #ED7B4F #4FED7B
tetradic
#7B4FED #ED4F72 #C1ED4F #4FEDCA
square
#7B4FED #ED4F72 #C1ED4F #4FEDCA
split-complementary
#7B4FED #EDCA4F #72ED4F
monochromatic
#3E12B0 #5118E7 #7B4FED #A587F3 #CEBEF8

Accessibility & contrast

On white

5.02
#7B4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7B4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FED
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FED#FFFFFF#000000##FFFFFF
##7B4FED1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#557698
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4fed;
/* rgb */ color: rgb(123, 79, 237);
/* oklch */ color: oklch(56.6% 0.224 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa83f4',
    500: '#7b4fed',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fed;
$custom-light: #aa83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fed",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 256.709,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.22418,
    "h": 290.1
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#7B4FED
secondary
#D9E9AF
accent
#DE08A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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