#7B4BD2#7B4BD2

#7B4BD2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.198 H 295.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7B4BD2
RGBrgb(123, 75, 210)
HSLhsl(261, 60%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.4%, 64.3%, 0%, 17.6%)
CIE-LABlab(44.08, 49.47, -62.59)
CIE-LCHlch(44.08, 79.78, 308.32°)
OKLaboklab(53.94% 0.0845 -0.1786)
OKLCHoklch(53.94% 0.198 295.3)
XYZxyz(22.3142, 13.8957, 62.4667)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BD2 #A2D24B
analogous
#4B5ED2 #7B4BD2 #BE4BD2
triadic
#7B4BD2 #D27B4B #4BD27B
tetradic
#7B4BD2 #D24B5E #A2D24B #4BD2BE
square
#7B4BD2 #D24B5E #A2D24B #4BD2BE
split-complementary
#7B4BD2 #D2BE4B #5ED24B
monochromatic
#432182 #5D2DB3 #7B4BD2 #9F7CDE #C3ADEA

Accessibility & contrast

On white

5.56
#7B4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7B4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BD2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BD2#FFFFFF#000000##FFFFFF
##7B4BD21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#646A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4bd2;
/* rgb */ color: rgb(123, 75, 210);
/* oklch */ color: oklch(53.9% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#a780e1',
    500: '#7b4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bd2;
$custom-light: #a780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bd2",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 261.333,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.19762,
    "h": 295.3
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#7B4BD2
secondary
#C4D8A0
accent
#E345AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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