#7B4FBE#7B4FBE

#7B4FBE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.168 H 298.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7B4FBE
RGBrgb(123, 79, 190)
HSLhsl(264, 46%, 53%)
HSVhsv(264, 58%, 75%)
CMYKcmyk(35.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(43.54, 42.03, -51.90)
CIE-LCHlch(43.54, 66.79, 309.00°)
OKLaboklab(53.11% 0.081 -0.1472)
OKLCHoklch(53.11% 0.168 298.8)
XYZxyz(20.2563, 13.5204, 50.2477)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FBE #92BE4F
analogous
#4F5ABE #7B4FBE #B34FBE
triadic
#7B4FBE #BE7B4F #4FBE7B
tetradic
#7B4FBE #BE4F5A #92BE4F #4FBEB3
square
#7B4FBE #BE4F5A #92BE4F #4FBEB3
split-complementary
#7B4FBE #BEB34F #5ABE4F
monochromatic
#42286B #5E3898 #7B4FBE #9D7CCF #BEA8DF

Accessibility & contrast

On white

5.67
#7B4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4FBE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FBE#FFFFFF#000000##FFFFFF
##7B4FBE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#6C667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4fbe;
/* rgb */ color: rgb(123, 79, 190);
/* oklch */ color: oklch(53.1% 0.168 298.8);
Tailwind
colors: {
  custom: {
    50: '#a582d2',
    500: '#7b4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fbe;
$custom-light: #a582d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fbe",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 263.784,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.16804,
    "h": 298.8
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#7B4FBE
secondary
#B9CC9C
accent
#D652A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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