#7B4CCD#7B4CCD

#7B4CCD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.190 H 296.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B4CCD
RGBrgb(123, 76, 205)
HSLhsl(262, 56%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(40%, 62.9%, 0%, 19.6%)
CIE-LABlab(43.93, 47.62, -59.97)
CIE-LCHlch(43.93, 76.58, 308.45°)
OKLaboklab(53.71% 0.0839 -0.1709)
OKLCHoklch(53.71% 0.19 296.1)
XYZxyz(21.7694, 13.7872, 59.2600)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CCD #9ECD4C
analogous
#4C5ECD #7B4CCD #BB4CCD
triadic
#7B4CCD #CD7B4C #4CCD7B
tetradic
#7B4CCD #CD4C5E #9ECD4C #4CCDBB
square
#7B4CCD #CD4C5E #9ECD4C #4CCDBB
split-complementary
#7B4CCD #CDBB4C #5ECD4C
monochromatic
#43237C #5D30AC #7B4CCD #9E7CDA #C2ACE8

Accessibility & contrast

On white

5.59
#7B4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CCD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CCD#FFFFFF#000000##FFFFFF
##7B4CCD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#666985
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4ccd;
/* rgb */ color: rgb(123, 76, 205);
/* oklch */ color: oklch(53.7% 0.190 296.1);
Tailwind
colors: {
  custom: {
    50: '#a780dd',
    500: '#7b4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ccd;
$custom-light: #a780dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ccd",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 261.86,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.1904,
    "h": 296.1
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#7B4CCD
secondary
#C2D59F
accent
#E048A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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