#7B4BBE#7B4BBE

#7B4BBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.174 H 299.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B4BBE
RGBrgb(123, 75, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.70, 44.24, -53.25)
CIE-LCHlch(42.70, 69.23, 309.73°)
OKLaboklab(52.5% 0.0859 -0.1511)
OKLCHoklch(52.5% 0.174 299.6)
XYZxyz(19.9765, 12.9606, 50.1544)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BBE #8EBE4B
analogous
#4B55BE #7B4BBE #B44BBE
triadic
#7B4BBE #BE7B4B #4BBE7B
tetradic
#7B4BBE #BE4B55 #8EBE4B #4BBEB4
square
#7B4BBE #BE4B55 #8EBE4B #4BBEB4
split-complementary
#7B4BBE #BEB44B #55BE4B
monochromatic
#422669 #5E3696 #7B4BBE #9C78CE #BDA5DE

Accessibility & contrast

On white

5.85
#7B4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7B4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BBE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BBE#FFFFFF#000000##FFFFFF
##7B4BBE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#6C637D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b4bbe;
/* rgb */ color: rgb(123, 75, 190);
/* oklch */ color: oklch(52.5% 0.174 299.6);
Tailwind
colors: {
  custom: {
    50: '#a57fd2',
    500: '#7b4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bbe;
$custom-light: #a57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bbe",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 265.043,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.17386,
    "h": 299.6
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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