#7B4FDA#7B4FDA

#7B4FDA is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.202 H 293.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7B4FDA
RGBrgb(123, 79, 218)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(43.6%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.45, 49.47, -64.96)
CIE-LCHlch(45.45, 81.65, 307.29°)
OKLaboklab(55.1% 0.0795 -0.1856)
OKLCHoklch(55.1% 0.202 293.2)
XYZxyz(23.6158, 14.8642, 67.9409)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FDA #AEDA4F
analogous
#4F68DA #7B4FDA #C04FDA
triadic
#7B4FDA #DA7B4F #4FDA7B
tetradic
#7B4FDA #DA4F68 #AEDA4F #4FDAC0
square
#7B4FDA #DA4F68 #AEDA4F #4FDAC0
split-complementary
#7B4FDA #DAC04F #68DA4F
monochromatic
#421E90 #5A29C3 #7B4FDA #A182E5 #C7B4EF

Accessibility & contrast

On white

5.29
#7B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7B4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FDA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FDA#FFFFFF#000000##FFFFFF
##7B4FDA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#60708D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4fda;
/* rgb */ color: rgb(123, 79, 218);
/* oklch */ color: oklch(55.1% 0.202 293.2);
Tailwind
colors: {
  custom: {
    50: '#a883e6',
    500: '#7b4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fda;
$custom-light: #a883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fda",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 258.993,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.20191,
    "h": 293.2
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#7B4FDA
secondary
#CDDEA7
accent
#E840B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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