#7B4FBC#7B4FBC

#7B4FBC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.166 H 299.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7B4FBC
RGBrgb(123, 79, 188)
HSLhsl(264, 45%, 52%)
HSVhsv(264, 58%, 74%)
CMYKcmyk(34.6%, 58%, 0%, 26.3%)
CIE-LABlab(43.41, 41.51, -50.94)
CIE-LCHlch(43.41, 65.72, 309.18°)
OKLaboklab(52.97% 0.0811 -0.1444)
OKLCHoklch(52.97% 0.166 299.3)
XYZxyz(20.0392, 13.4336, 49.1044)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FBC #90BC4F
analogous
#4F5ABC #7B4FBC #B14FBC
triadic
#7B4FBC #BC7B4F #4FBC7B
tetradic
#7B4FBC #BC4F5A #90BC4F #4FBCB1
square
#7B4FBC #BC4F5A #90BC4F #4FBCB1
split-complementary
#7B4FBC #BCB14F #5ABC4F
monochromatic
#422869 #5E3995 #7B4FBC #9C7BCD #BDA8DE

Accessibility & contrast

On white

5.70
#7B4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7B4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FBC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FBC#FFFFFF#000000##FFFFFF
##7B4FBC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966C0
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#6D657E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4fbc;
/* rgb */ color: rgb(123, 79, 188);
/* oklch */ color: oklch(53.0% 0.166 299.3);
Tailwind
colors: {
  custom: {
    50: '#a582d1',
    500: '#7b4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fbc;
$custom-light: #a582d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fbc",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 264.22,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.16558,
    "h": 299.3
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#7B4FBC
secondary
#B8CB9C
accent
#D553A0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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