#7B4DD5#7B4DD5

#7B4DD5 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.199 H 294.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B4DD5
RGBrgb(123, 77, 213)
HSLhsl(260, 62%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.3%, 63.8%, 0%, 16.5%)
CIE-LABlab(44.69, 49.20, -63.33)
CIE-LCHlch(44.69, 80.20, 307.85°)
OKLaboklab(54.44% 0.0821 -0.1808)
OKLCHoklch(54.44% 0.199 294.4)
XYZxyz(22.8293, 14.3222, 64.4995)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DD5 #A7D54D
analogous
#4D63D5 #7B4DD5 #BF4DD5
triadic
#7B4DD5 #D57B4D #4DD57B
tetradic
#7B4DD5 #D54D63 #A7D54D #4DD5BF
square
#7B4DD5 #D54D63 #A7D54D #4DD5BF
split-complementary
#7B4DD5 #D5BF4D #63D54D
monochromatic
#432088 #5C2CB9 #7B4DD5 #A07FE1 #C4B0EC

Accessibility & contrast

On white

5.43
#7B4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DD5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DD5#FFFFFF#000000##FFFFFF
##7B4DD51.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#636D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4dd5;
/* rgb */ color: rgb(123, 77, 213);
/* oklch */ color: oklch(54.4% 0.199 294.4);
Tailwind
colors: {
  custom: {
    50: '#a881e3',
    500: '#7b4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dd5;
$custom-light: #a881e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dd5",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 260.294,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.19857,
    "h": 294.4
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#7B4DD5
secondary
#C8DBA3
accent
#E543AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7B4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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