#7B4CDB#7B4CDB

#7B4CDB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.207 H 293.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7B4CDB
RGBrgb(123, 76, 219)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(43.8%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.93, 51.34, -66.37)
CIE-LCHlch(44.93, 83.91, 307.72°)
OKLaboklab(54.76% 0.0825 -0.1897)
OKLCHoklch(54.76% 0.207 293.5)
XYZxyz(23.5355, 14.4936, 68.5616)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CDB #ACDB4C
analogous
#4C64DB #7B4CDB #C24CDB
triadic
#7B4CDB #DB7B4C #4CDB7B
tetradic
#7B4CDB #DB4C64 #ACDB4C #4CDBC2
square
#7B4CDB #DB4C64 #ACDB4C #4CDBC2
split-complementary
#7B4CDB #DBC24C #64DB4C
monochromatic
#431D90 #5A27C3 #7B4CDB #A17FE5 #C6B2EF

Accessibility & contrast

On white

5.39
#7B4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7B4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CDB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CDB#FFFFFF#000000##FFFFFF
##7B4CDB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#606E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4cdb;
/* rgb */ color: rgb(123, 76, 219);
/* oklch */ color: oklch(54.8% 0.207 293.5);
Tailwind
colors: {
  custom: {
    50: '#a881e7',
    500: '#7b4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cdb;
$custom-light: #a881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cdb",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 259.72,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.20689,
    "h": 293.5
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#7B4CDB
secondary
#CBDEA5
accent
#E93EB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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