#7B4CDC#7B4CDC

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

Color values

HEX#7B4CDC
RGBrgb(123, 76, 220)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(44.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(45.01, 51.60, -66.82)
CIE-LCHlch(45.01, 84.42, 307.68°)
OKLaboklab(54.83% 0.0824 -0.1911)
OKLCHoklch(54.83% 0.208 293.3)
XYZxyz(23.6676, 14.5465, 69.2570)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CDC #ADDC4C
analogous
#4C65DC #7B4CDC #C34CDC
triadic
#7B4CDC #DC7B4C #4CDC7B
tetradic
#7B4CDC #DC4C65 #ADDC4C #4CDCC3
square
#7B4CDC #DC4C65 #ADDC4C #4CDCC3
split-complementary
#7B4CDC #DCC34C #65DC4C
monochromatic
#431C91 #5A26C4 #7B4CDC #A17FE6 #C6B2F0

Accessibility & contrast

On white

5.37
#7B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CDC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CDC#FFFFFF#000000##FFFFFF
##7B4CDC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5F6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4cdc;
/* rgb */ color: rgb(123, 76, 220);
/* oklch */ color: oklch(54.8% 0.208 293.3);
Tailwind
colors: {
  custom: {
    50: '#a881e8',
    500: '#7b4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cdc;
$custom-light: #a881e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cdc",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 259.583,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.20806,
    "h": 293.3
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#7B4CDC
secondary
#CCDFA5
accent
#EA3EB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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