#7B4DDB#7B4DDB

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

Color values

HEX#7B4DDB
RGBrgb(123, 77, 219)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(43.8%, 64.8%, 0%, 14.1%)
CIE-LABlab(45.13, 50.81, -66.05)
CIE-LCHlch(45.13, 83.33, 307.57°)
OKLaboklab(54.9% 0.0815 -0.1888)
OKLCHoklch(54.9% 0.206 293.3)
XYZxyz(23.6050, 14.6325, 68.5848)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DDB #ADDB4D
analogous
#4D66DB #7B4DDB #C24DDB
triadic
#7B4DDB #DB7B4D #4DDB7B
tetradic
#7B4DDB #DB4D66 #ADDB4D #4DDBC2
square
#7B4DDB #DB4D66 #ADDB4D #4DDBC2
split-complementary
#7B4DDB #DBC24D #66DB4D
monochromatic
#431D90 #5A27C3 #7B4DDB #A180E5 #C6B3F0

Accessibility & contrast

On white

5.35
#7B4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7B4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DDB#FFFFFF#000000##FFFFFF
##7B4DDB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#606F8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ddb;
/* rgb */ color: rgb(123, 77, 219);
/* oklch */ color: oklch(54.9% 0.206 293.3);
Tailwind
colors: {
  custom: {
    50: '#a881e7',
    500: '#7b4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ddb;
$custom-light: #a881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ddb",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 259.437,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.20564,
    "h": 293.3
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#7B4DDB
secondary
#CCDEA6
accent
#E93FB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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