#7B4BD7#7B4BD7

#7B4BD7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.203 H 294.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7B4BD7
RGBrgb(123, 75, 215)
HSLhsl(261, 64%, 57%)
HSVhsv(261, 65%, 84%)
CMYKcmyk(42.8%, 65.1%, 0%, 15.7%)
CIE-LABlab(44.45, 50.80, -64.87)
CIE-LCHlch(44.45, 82.39, 308.06°)
OKLaboklab(54.31% 0.084 -0.1853)
OKLCHoklch(54.31% 0.203 294.4)
XYZxyz(22.9469, 14.1488, 65.7988)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BD7 #A7D74B
analogous
#4B61D7 #7B4BD7 #C14BD7
triadic
#7B4BD7 #D77B4B #4BD77B
tetradic
#7B4BD7 #D74B61 #A7D74B #4BD7C1
square
#7B4BD7 #D74B61 #A7D74B #4BD7C1
split-complementary
#7B4BD7 #D7C14B #61D74B
monochromatic
#431E89 #5C2ABB #7B4BD7 #A07DE2 #C4AFED

Accessibility & contrast

On white

5.48
#7B4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7B4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BD7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BD7#FFFFFF#000000##FFFFFF
##7B4BD71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#626C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4bd7;
/* rgb */ color: rgb(123, 75, 215);
/* oklch */ color: oklch(54.3% 0.203 294.4);
Tailwind
colors: {
  custom: {
    50: '#a880e4',
    500: '#7b4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bd7;
$custom-light: #a880e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bd7",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 260.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.20348,
    "h": 294.4
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#7B4BD7
secondary
#C8DBA2
accent
#E741AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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