#7B4DDD#7B4DDD

#7B4DDD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.208 H 293.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B4DDD
RGBrgb(123, 77, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(44.3%, 65.2%, 0%, 13.3%)
CIE-LABlab(45.27, 51.35, -66.95)
CIE-LCHlch(45.27, 84.37, 307.48°)
OKLaboklab(55.05% 0.0812 -0.1915)
OKLCHoklch(55.05% 0.208 293)
XYZxyz(23.8698, 14.7384, 69.9797)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DDD #AFDD4D
analogous
#4D67DD #7B4DDD #C34DDD
triadic
#7B4DDD #DD7B4D #4DDD7B
tetradic
#7B4DDD #DD4D67 #AFDD4D #4DDDC3
square
#7B4DDD #DD4D67 #AFDD4D #4DDDC3
split-complementary
#7B4DDD #DDC34D #67DD4D
monochromatic
#421C93 #5926C7 #7B4DDD #A180E7 #C7B4F1

Accessibility & contrast

On white

5.32
#7B4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DDD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DDD#FFFFFF#000000##FFFFFF
##7B4DDD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#5F6F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ddd;
/* rgb */ color: rgb(123, 77, 221);
/* oklch */ color: oklch(55.0% 0.208 293.0);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7b4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ddd;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ddd",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 259.167,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.20798,
    "h": 293
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#7B4DDD
secondary
#CDDFA6
accent
#EB3DB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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