#7B4BBF#7B4BBF

#7B4BBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.175 H 299.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B4BBF
RGBrgb(123, 75, 191)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.77, 44.50, -53.72)
CIE-LCHlch(42.77, 69.76, 309.64°)
OKLaboklab(52.57% 0.0859 -0.1525)
OKLCHoklch(52.57% 0.175 299.4)
XYZxyz(20.0861, 13.0045, 50.7320)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BBF #8FBF4B
analogous
#4B55BF #7B4BBF #B54BBF
triadic
#7B4BBF #BF7B4B #4BBF7B
tetradic
#7B4BBF #BF4B55 #8FBF4B #4BBFB5
square
#7B4BBF #BF4B55 #8FBF4B #4BBFB5
split-complementary
#7B4BBF #BFB54B #55BF4B
monochromatic
#42266A #5E3697 #7B4BBF #9C78CF #BDA5DF

Accessibility & contrast

On white

5.83
#7B4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BBF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BBF#FFFFFF#000000##FFFFFF
##7B4BBF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2064BC
Tritanopia (blue-blind)
#6C647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4bbf;
/* rgb */ color: rgb(123, 75, 191);
/* oklch */ color: oklch(52.6% 0.175 299.4);
Tailwind
colors: {
  custom: {
    50: '#a67fd3',
    500: '#7b4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bbf;
$custom-light: #a67fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bbf",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 264.828,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.17506,
    "h": 299.4
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#7B4BBF
secondary
#B7CC9A
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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