#7B4FBD#7B4FBD

#7B4FBD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.167 H 299.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7B4FBD
RGBrgb(123, 79, 189)
HSLhsl(264, 45%, 53%)
HSVhsv(264, 58%, 74%)
CMYKcmyk(34.9%, 58.2%, 0%, 25.9%)
CIE-LABlab(43.47, 41.77, -51.42)
CIE-LCHlch(43.47, 66.25, 309.09°)
OKLaboklab(53.04% 0.0811 -0.1458)
OKLCHoklch(53.04% 0.167 299.1)
XYZxyz(20.1474, 13.4768, 49.6741)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FBD #91BD4F
analogous
#4F5ABD #7B4FBD #B24FBD
triadic
#7B4FBD #BD7B4F #4FBD7B
tetradic
#7B4FBD #BD4F5A #91BD4F #4FBDB2
square
#7B4FBD #BD4F5A #91BD4F #4FBDB2
split-complementary
#7B4FBD #BDB24F #5ABD4F
monochromatic
#42286A #5E3896 #7B4FBD #9C7CCE #BEA8DE

Accessibility & contrast

On white

5.68
#7B4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7B4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FBD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FBD#FFFFFF#000000##FFFFFF
##7B4FBD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C1
Deuteranopia (green-blind)
#2B66BB
Tritanopia (blue-blind)
#6D667E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4fbd;
/* rgb */ color: rgb(123, 79, 189);
/* oklch */ color: oklch(53.0% 0.167 299.1);
Tailwind
colors: {
  custom: {
    50: '#a582d1',
    500: '#7b4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fbd;
$custom-light: #a582d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fbd",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 264,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.16682,
    "h": 299.1
  },
  "luminance": 0.13477
}

Semantic roles & 50–950 ramp

primary
#7B4FBD
secondary
#B9CC9C
accent
#D553A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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