#7B4FD7#7B4FD7

#7B4FD7 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.198 H 293.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7B4FD7
RGBrgb(123, 79, 215)
HSLhsl(259, 63%, 58%)
HSVhsv(259, 63%, 84%)
CMYKcmyk(42.8%, 63.3%, 0%, 15.7%)
CIE-LABlab(45.23, 48.67, -63.60)
CIE-LCHlch(45.23, 80.08, 307.42°)
OKLaboklab(54.88% 0.0798 -0.1816)
OKLCHoklch(54.88% 0.198 293.7)
XYZxyz(23.2268, 14.7086, 65.8921)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FD7 #ABD74F
analogous
#4F67D7 #7B4FD7 #BF4FD7
triadic
#7B4FD7 #D77B4F #4FD77B
tetradic
#7B4FD7 #D74F67 #ABD74F #4FD7BF
square
#7B4FD7 #D74F67 #ABD74F #4FD7BF
split-complementary
#7B4FD7 #D7BF4F #67D74F
monochromatic
#43208C #5B2BBE #7B4FD7 #A081E2 #C6B3EE

Accessibility & contrast

On white

5.33
#7B4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7B4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FD7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FD7#FFFFFF#000000##FFFFFF
##7B4FD71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#626F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4fd7;
/* rgb */ color: rgb(123, 79, 215);
/* oklch */ color: oklch(54.9% 0.198 293.7);
Tailwind
colors: {
  custom: {
    50: '#a883e4',
    500: '#7b4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fd7;
$custom-light: #a883e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fd7",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 259.412,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.19834,
    "h": 293.7
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#7B4FD7
secondary
#CBDCA6
accent
#E642B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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