#7B4CDD#7B4CDD

#7B4CDD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.209 H 293.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B4CDD
RGBrgb(123, 76, 221)
HSLhsl(259, 68%, 58%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(44.3%, 65.6%, 0%, 13.3%)
CIE-LABlab(45.08, 51.87, -67.27)
CIE-LCHlch(45.08, 84.94, 307.64°)
OKLaboklab(54.91% 0.0823 -0.1924)
OKLCHoklch(54.91% 0.209 293.1)
XYZxyz(23.8004, 14.5996, 69.9566)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CDD #AEDD4C
analogous
#4C65DD #7B4CDD #C34CDD
triadic
#7B4CDD #DD7B4C #4CDD7B
tetradic
#7B4CDD #DD4C65 #AEDD4C #4CDDC3
square
#7B4CDD #DD4C65 #AEDD4C #4CDDC3
split-complementary
#7B4CDD #DDC34C #65DD4C
monochromatic
#421C93 #5A26C6 #7B4CDD #A17FE7 #C7B3F1

Accessibility & contrast

On white

5.36
#7B4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7B4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CDD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CDD#FFFFFF#000000##FFFFFF
##7B4CDD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b4cdd;
/* rgb */ color: rgb(123, 76, 221);
/* oklch */ color: oklch(54.9% 0.209 293.1);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7b4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cdd;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cdd",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 259.448,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.20923,
    "h": 293.1
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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