#7B4FD9#7B4FD9

#7B4FD9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.201 H 293.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7B4FD9
RGBrgb(123, 79, 217)
HSLhsl(259, 64%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(43.3%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.38, 49.20, -64.51)
CIE-LCHlch(45.38, 81.13, 307.34°)
OKLaboklab(55.03% 0.0796 -0.1843)
OKLCHoklch(55.03% 0.201 293.4)
XYZxyz(23.4853, 14.8120, 67.2538)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FD9 #ADD94F
analogous
#4F68D9 #7B4FD9 #C04FD9
triadic
#7B4FD9 #D97B4F #4FD97B
tetradic
#7B4FD9 #D94F68 #ADD94F #4FD9C0
square
#7B4FD9 #D94F68 #ADD94F #4FD9C0
split-complementary
#7B4FD9 #D9C04F #68D94F
monochromatic
#431F8F #5A2AC1 #7B4FD9 #A181E4 #C6B4EF

Accessibility & contrast

On white

5.30
#7B4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7B4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FD9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FD9#FFFFFF#000000##FFFFFF
##7B4FD91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#616F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4fd9;
/* rgb */ color: rgb(123, 79, 217);
/* oklch */ color: oklch(55.0% 0.201 293.4);
Tailwind
colors: {
  custom: {
    50: '#a883e6',
    500: '#7b4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fd9;
$custom-light: #a883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fd9",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 259.13,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.20071,
    "h": 293.4
  },
  "luminance": 0.14813
}

Semantic roles & 50–950 ramp

primary
#7B4FD9
secondary
#CCDDA6
accent
#E740B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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