#7B4FD8#7B4FD8

#7B4FD8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.200 H 293.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B4FD8
RGBrgb(123, 79, 216)
HSLhsl(259, 64%, 58%)
HSVhsv(259, 63%, 85%)
CMYKcmyk(43.1%, 63.4%, 0%, 15.3%)
CIE-LABlab(45.30, 48.94, -64.05)
CIE-LCHlch(45.30, 80.61, 307.38°)
OKLaboklab(54.95% 0.0797 -0.1829)
OKLCHoklch(54.95% 0.2 293.5)
XYZxyz(23.3557, 14.7601, 66.5709)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FD8 #ACD84F
analogous
#4F67D8 #7B4FD8 #BF4FD8
triadic
#7B4FD8 #D87B4F #4FD87B
tetradic
#7B4FD8 #D84F67 #ACD84F #4FD8BF
square
#7B4FD8 #D84F67 #ACD84F #4FD8BF
split-complementary
#7B4FD8 #D8BF4F #67D84F
monochromatic
#431F8D #5A2ABF #7B4FD8 #A181E3 #C6B3EE

Accessibility & contrast

On white

5.31
#7B4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FD8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FD8#FFFFFF#000000##FFFFFF
##7B4FD81.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#616F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4fd8;
/* rgb */ color: rgb(123, 79, 216);
/* oklch */ color: oklch(55.0% 0.200 293.5);
Tailwind
colors: {
  custom: {
    50: '#a883e5',
    500: '#7b4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fd8;
$custom-light: #a883e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fd8",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 259.27,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.19953,
    "h": 293.5
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#7B4FD8
secondary
#CBDDA6
accent
#E741B2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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