#7B4DEA#7B4DEA

#7B4DEA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.223 H 290.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B4DEA
RGBrgb(123, 77, 234)
HSLhsl(258, 79%, 61%)
HSVhsv(258, 67%, 92%)
CMYKcmyk(47.4%, 67.1%, 0%, 8.2%)
CIE-LABlab(46.26, 54.85, -72.72)
CIE-LCHlch(46.26, 91.09, 307.02°)
OKLaboklab(56.06% 0.0795 -0.2084)
OKLCHoklch(56.06% 0.223 290.9)
XYZxyz(25.6693, 15.4583, 79.4572)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DEA #BCEA4D
analogous
#4D6DEA #7B4DEA #CA4DEA
triadic
#7B4DEA #EA7B4D #4DEA7B
tetradic
#7B4DEA #EA4D6D #BCEA4D #4DEACA
square
#7B4DEA #EA4D6D #BCEA4D #4DEACA
split-complementary
#7B4DEA #EACA4D #6DEA4D
monochromatic
#3F14A9 #541ADF #7B4DEA #A484F0 #CCBAF7

Accessibility & contrast

On white

5.13
#7B4DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7B4DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DEA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DEA#FFFFFF#000000##FFFFFF
##7B4DEA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#577495
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4dea;
/* rgb */ color: rgb(123, 77, 234);
/* oklch */ color: oklch(56.1% 0.223 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa82f2',
    500: '#7b4dea',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dea;
$custom-light: #aa82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dea",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 257.58,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.22307,
    "h": 290.9
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#7B4DEA
secondary
#D6E7AC
accent
#DB0A9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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