#7B4FBB#7B4FBB

#7B4FBB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.164 H 299.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B4FBB
RGBrgb(123, 79, 187)
HSLhsl(264, 44%, 52%)
HSVhsv(264, 58%, 73%)
CMYKcmyk(34.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(43.35, 41.26, -50.46)
CIE-LCHlch(43.35, 65.18, 309.27°)
OKLaboklab(52.91% 0.0811 -0.143)
OKLCHoklch(52.91% 0.164 299.5)
XYZxyz(19.9318, 13.3906, 48.5386)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FBB #8FBB4F
analogous
#4F59BB #7B4FBB #B14FBB
triadic
#7B4FBB #BB7B4F #4FBB7B
tetradic
#7B4FBB #BB4F59 #8FBB4F #4FBBB1
square
#7B4FBB #BB4F59 #8FBB4F #4FBBB1
split-complementary
#7B4FBB #BBB14F #59BB4F
monochromatic
#422868 #5E3994 #7B4FBB #9C7BCC #BDA7DD

Accessibility & contrast

On white

5.71
#7B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FBB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FBB#FFFFFF#000000##FFFFFF
##7B4FBB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#6D657D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b4fbb;
/* rgb */ color: rgb(123, 79, 187);
/* oklch */ color: oklch(52.9% 0.164 299.5);
Tailwind
colors: {
  custom: {
    50: '#a582d0',
    500: '#7b4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fbb;
$custom-light: #a582d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fbb",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 264.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.16435,
    "h": 299.5
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#7B4FBB
secondary
#B7CA9B
accent
#D454A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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