#7B4DED#7B4DED

#7B4DED is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.227 H 290.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B4DED
RGBrgb(123, 77, 237)
HSLhsl(257, 82%, 62%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.1%, 67.5%, 0%, 7.1%)
CIE-LABlab(46.49, 55.66, -74.04)
CIE-LCHlch(46.49, 92.63, 306.94°)
OKLaboklab(56.3% 0.079 -0.2123)
OKLCHoklch(56.3% 0.227 290.4)
XYZxyz(26.1040, 15.6321, 81.7462)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DED #BFED4D
analogous
#4D6FED #7B4DED #CB4DED
triadic
#7B4DED #ED7B4D #4DED7B
tetradic
#7B4DED #ED4D6F #BFED4D #4DEDCB
square
#7B4DED #ED4D6F #BFED4D #4DEDCB
split-complementary
#7B4DED #EDCB4D #6FED4D
monochromatic
#3F12AE #5317E6 #7B4DED #A485F3 #CDBCF8

Accessibility & contrast

On white

5.09
#7B4DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B4DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DED#FFFFFF#000000##FFFFFF
##7B4DED1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#557597
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4ded;
/* rgb */ color: rgb(123, 77, 237);
/* oklch */ color: oklch(56.3% 0.227 290.4);
Tailwind
colors: {
  custom: {
    50: '#aa82f4',
    500: '#7b4ded',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ded;
$custom-light: #aa82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ded",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 257.25,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56299,
    "c": 0.22651,
    "h": 290.4
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#7B4DED
secondary
#D8E9AD
accent
#DE07A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4DED

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

Preview Lab → · Contrast checker → · Palette generator →

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