#7B4DDE#7B4DDE

#7B4DDE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.209 H 292.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7B4DDE
RGBrgb(123, 77, 222)
HSLhsl(259, 69%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(44.6%, 65.3%, 0%, 12.9%)
CIE-LABlab(45.35, 51.61, -67.40)
CIE-LCHlch(45.35, 84.89, 307.44°)
OKLaboklab(55.12% 0.0811 -0.1928)
OKLCHoklch(55.12% 0.209 292.8)
XYZxyz(24.0034, 14.7919, 70.6835)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DDE #B0DE4D
analogous
#4D67DE #7B4DDE #C34DDE
triadic
#7B4DDE #DE7B4D #4DDE7B
tetradic
#7B4DDE #DE4D67 #B0DE4D #4DDEC3
square
#7B4DDE #DE4D67 #B0DE4D #4DDEC3
split-complementary
#7B4DDE #DEC34D #67DE4D
monochromatic
#421C95 #5925C9 #7B4DDE #A181E8 #C8B4F1

Accessibility & contrast

On white

5.30
#7B4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7B4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DDE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DDE#FFFFFF#000000##FFFFFF
##7B4DDE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#5E708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4dde;
/* rgb */ color: rgb(123, 77, 222);
/* oklch */ color: oklch(55.1% 0.209 292.8);
Tailwind
colors: {
  custom: {
    50: '#a881e9',
    500: '#7b4dde',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dde;
$custom-light: #a881e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dde",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 259.034,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.20915,
    "h": 292.8
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#7B4DDE
secondary
#CEE0A7
accent
#EC3CB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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