#7B4BD8#7B4BD8

#7B4BD8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.205 H 294.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7B4BD8
RGBrgb(123, 75, 216)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.1%, 65.3%, 0%, 15.3%)
CIE-LABlab(44.52, 51.06, -65.33)
CIE-LCHlch(44.52, 82.91, 308.01°)
OKLaboklab(54.39% 0.0839 -0.1867)
OKLCHoklch(54.39% 0.205 294.2)
XYZxyz(23.0758, 14.2004, 66.4776)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BD8 #A8D84B
analogous
#4B61D8 #7B4BD8 #C24BD8
triadic
#7B4BD8 #D87B4B #4BD87B
tetradic
#7B4BD8 #D84B61 #A8D84B #4BD8C2
square
#7B4BD8 #D84B61 #A8D84B #4BD8C2
split-complementary
#7B4BD8 #D8C24B #61D84B
monochromatic
#431E8B #5B29BD #7B4BD8 #A07DE3 #C5B0EE

Accessibility & contrast

On white

5.47
#7B4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BD8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BD8#FFFFFF#000000##FFFFFF
##7B4BD81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#616C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4bd8;
/* rgb */ color: rgb(123, 75, 216);
/* oklch */ color: oklch(54.4% 0.205 294.2);
Tailwind
colors: {
  custom: {
    50: '#a880e5',
    500: '#7b4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bd8;
$custom-light: #a880e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bd8",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 260.426,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.20465,
    "h": 294.2
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#7B4BD8
secondary
#C9DCA3
accent
#E740AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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