#7B4FDC#7B4FDC

#7B4FDC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.204 H 292.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7B4FDC
RGBrgb(123, 79, 220)
HSLhsl(259, 67%, 59%)
HSVhsv(259, 64%, 86%)
CMYKcmyk(44.1%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.59, 50.01, -65.87)
CIE-LCHlch(45.59, 82.70, 307.21°)
OKLaboklab(55.25% 0.0793 -0.1883)
OKLCHoklch(55.25% 0.204 292.8)
XYZxyz(23.8791, 14.9695, 69.3275)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FDC #B0DC4F
analogous
#4F69DC #7B4FDC #C14FDC
triadic
#7B4FDC #DC7B4F #4FDC7B
tetradic
#7B4FDC #DC4F69 #B0DC4F #4FDCC1
square
#7B4FDC #DC4F69 #B0DC4F #4FDCC1
split-complementary
#7B4FDC #DCC14F #69DC4F
monochromatic
#421D93 #5927C6 #7B4FDC #A182E6 #C8B5F0

Accessibility & contrast

On white

5.26
#7B4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7B4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FDC#FFFFFF#000000##FFFFFF
##7B4FDC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#5F708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4fdc;
/* rgb */ color: rgb(123, 79, 220);
/* oklch */ color: oklch(55.3% 0.204 292.8);
Tailwind
colors: {
  custom: {
    50: '#a883e8',
    500: '#7b4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fdc;
$custom-light: #a883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fdc",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 258.723,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.20428,
    "h": 292.8
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#7B4FDC
secondary
#CEDFA8
accent
#EA3EB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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