#7B4BBD#7B4BBD

#7B4BBD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.173 H 299.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7B4BBD
RGBrgb(123, 75, 189)
HSLhsl(265, 46%, 52%)
HSVhsv(265, 60%, 74%)
CMYKcmyk(34.9%, 60.3%, 0%, 25.9%)
CIE-LABlab(42.64, 43.99, -52.77)
CIE-LCHlch(42.64, 68.70, 309.81°)
OKLaboklab(52.43% 0.086 -0.1497)
OKLCHoklch(52.43% 0.173 299.9)
XYZxyz(19.8675, 12.9171, 49.5808)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BBD #8DBD4B
analogous
#4B54BD #7B4BBD #B44BBD
triadic
#7B4BBD #BD7B4B #4BBD7B
tetradic
#7B4BBD #BD4B54 #8DBD4B #4BBDB4
square
#7B4BBD #BD4B54 #8DBD4B #4BBDB4
split-complementary
#7B4BBD #BDB44B #54BD4B
monochromatic
#422668 #5E3694 #7B4BBD #9C78CD #BDA5DE

Accessibility & contrast

On white

5.86
#7B4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7B4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BBD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BBD#FFFFFF#000000##FFFFFF
##7B4BBD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#6D637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4bbd;
/* rgb */ color: rgb(123, 75, 189);
/* oklch */ color: oklch(52.4% 0.173 299.9);
Tailwind
colors: {
  custom: {
    50: '#a57fd2',
    500: '#7b4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bbd;
$custom-light: #a57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bbd",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 265.263,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52429,
    "c": 0.17267,
    "h": 299.9
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#7B4BBD
secondary
#B6CB99
accent
#D6529E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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