#7B4FDD#7B4FDD

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

Color values

HEX#7B4FDD
RGBrgb(123, 79, 221)
HSLhsl(259, 68%, 59%)
HSVhsv(259, 64%, 87%)
CMYKcmyk(44.3%, 64.3%, 0%, 13.3%)
CIE-LABlab(45.67, 50.28, -66.32)
CIE-LCHlch(45.67, 83.22, 307.17°)
OKLaboklab(55.33% 0.0792 -0.1896)
OKLCHoklch(55.33% 0.205 292.7)
XYZxyz(24.0119, 15.0226, 70.0271)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FDD #B1DD4F
analogous
#4F6ADD #7B4FDD #C24FDD
triadic
#7B4FDD #DD7B4F #4FDD7B
tetradic
#7B4FDD #DD4F6A #B1DD4F #4FDDC2
square
#7B4FDD #DD4F6A #B1DD4F #4FDDC2
split-complementary
#7B4FDD #DDC24F #6ADD4F
monochromatic
#421D95 #5927C8 #7B4FDD #A182E7 #C8B6F1

Accessibility & contrast

On white

5.24
#7B4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7B4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FDD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FDD#FFFFFF#000000##FFFFFF
##7B4FDD1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#5F718F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4fdd;
/* rgb */ color: rgb(123, 79, 221);
/* oklch */ color: oklch(55.3% 0.205 292.7);
Tailwind
colors: {
  custom: {
    50: '#a883e8',
    500: '#7b4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fdd;
$custom-light: #a883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fdd",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 258.592,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.20546,
    "h": 292.7
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#7B4FDD
secondary
#CFE0A8
accent
#EA3DB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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