#7B4EE9#7B4EE9

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

Color values

HEX#7B4EE9
RGBrgb(123, 78, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 67%, 91%)
CMYKcmyk(47.2%, 66.5%, 0%, 8.6%)
CIE-LABlab(46.37, 54.06, -71.98)
CIE-LCHlch(46.37, 90.02, 306.91°)
OKLaboklab(56.12% 0.0787 -0.2062)
OKLCHoklch(56.12% 0.221 290.9)
XYZxyz(25.5966, 15.5420, 78.7262)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE9 #BCE94E
analogous
#4E6EE9 #7B4EE9 #C84EE9
triadic
#7B4EE9 #E97B4E #4EE97B
tetradic
#7B4EE9 #E94E6E #BCE94E #4EE9C8
square
#7B4EE9 #E94E6E #BCE94E #4EE9C8
split-complementary
#7B4EE9 #E9C84E #6EE94E
monochromatic
#3F15A8 #541CDE #7B4EE9 #A484F0 #CCBBF7

Accessibility & contrast

On white

5.11
#7B4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7B4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE9#FFFFFF#000000##FFFFFF
##7B4EE91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#587495
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4ee9;
/* rgb */ color: rgb(123, 78, 233);
/* oklch */ color: oklch(56.1% 0.221 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa82f1',
    500: '#7b4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee9;
$custom-light: #aa82f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee9",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 257.419,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.22074,
    "h": 290.9
  },
  "luminance": 0.15543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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