#7B4CCE#7B4CCE

#7B4CCE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.192 H 295.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7B4CCE
RGBrgb(123, 76, 206)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 63%, 81%)
CMYKcmyk(40.3%, 63.1%, 0%, 19.2%)
CIE-LABlab(44.00, 47.88, -60.43)
CIE-LCHlch(44.00, 77.10, 308.39°)
OKLaboklab(53.78% 0.0838 -0.1723)
OKLCHoklch(53.78% 0.192 295.9)
XYZxyz(21.8905, 13.8356, 59.8978)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CCE #9FCE4C
analogous
#4C5ECE #7B4CCE #BC4CCE
triadic
#7B4CCE #CE7B4C #4CCE7B
tetradic
#7B4CCE #CE4C5E #9FCE4C #4CCEBC
square
#7B4CCE #CE4C5E #9FCE4C #4CCEBC
split-complementary
#7B4CCE #CEBC4C #5ECE4C
monochromatic
#43227D #5D2FAD #7B4CCE #9E7CDB #C2ACE8

Accessibility & contrast

On white

5.57
#7B4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7B4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CCE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CCE#FFFFFF#000000##FFFFFF
##7B4CCE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#666A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4cce;
/* rgb */ color: rgb(123, 76, 206);
/* oklch */ color: oklch(53.8% 0.192 295.9);
Tailwind
colors: {
  custom: {
    50: '#a780de',
    500: '#7b4cce',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cce;
$custom-light: #a780de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cce",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 261.692,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.19158,
    "h": 295.9
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#7B4CCE
secondary
#C2D6A0
accent
#E048A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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