#7B4BDD#7B4BDD

#7B4BDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.210 H 293.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7B4BDD
RGBrgb(123, 75, 221)
HSLhsl(260, 68%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(44.3%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.89, 52.39, -67.58)
CIE-LCHlch(44.89, 85.51, 307.79°)
OKLaboklab(54.77% 0.0833 -0.1933)
OKLCHoklch(54.77% 0.21 293.3)
XYZxyz(23.7320, 14.4629, 69.9338)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BDD #ADDD4B
analogous
#4B64DD #7B4BDD #C44BDD
triadic
#7B4BDD #DD7B4B #4BDD7B
tetradic
#7B4BDD #DD4B64 #ADDD4B #4BDDC4
square
#7B4BDD #DD4B64 #ADDD4B #4BDDC4
split-complementary
#7B4BDD #DDC44B #64DD4B
monochromatic
#431C92 #5A25C5 #7B4BDD #A17EE7 #C6B2F0

Accessibility & contrast

On white

5.39
#7B4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BDD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BDD#FFFFFF#000000##FFFFFF
##7B4BDD1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b4bdd;
/* rgb */ color: rgb(123, 75, 221);
/* oklch */ color: oklch(54.8% 0.210 293.3);
Tailwind
colors: {
  custom: {
    50: '#a880e9',
    500: '#7b4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bdd;
$custom-light: #a880e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bdd",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 259.726,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.21046,
    "h": 293.3
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#7B4BDD
secondary
#CCDFA5
accent
#EB3DB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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