#7B4EE4#7B4EE4

#7B4EE4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.215 H 291.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7B4EE4
RGBrgb(123, 78, 228)
HSLhsl(258, 74%, 60%)
HSVhsv(258, 66%, 89%)
CMYKcmyk(46.1%, 65.8%, 0%, 10.6%)
CIE-LABlab(45.99, 52.71, -69.77)
CIE-LCHlch(45.99, 87.44, 307.07°)
OKLaboklab(55.73% 0.0794 -0.1997)
OKLCHoklch(55.73% 0.215 291.7)
XYZxyz(24.8924, 15.2603, 75.0177)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE4 #B7E44E
analogous
#4E6CE4 #7B4EE4 #C64EE4
triadic
#7B4EE4 #E47B4E #4EE47B
tetradic
#7B4EE4 #E44E6C #B7E44E #4EE4C6
square
#7B4EE4 #E44E6C #B7E44E #4EE4C6
split-complementary
#7B4EE4 #E4C64E #6CE44E
monochromatic
#41189F #5620D4 #7B4EE4 #A383EC #CAB8F4

Accessibility & contrast

On white

5.18
#7B4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7B4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE4#FFFFFF#000000##FFFFFF
##7B4EE41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#5B7392
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4ee4;
/* rgb */ color: rgb(123, 78, 228);
/* oklch */ color: oklch(55.7% 0.215 291.7);
Tailwind
colors: {
  custom: {
    50: '#a982ed',
    500: '#7b4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee4;
$custom-light: #a982ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee4",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 258,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.21492,
    "h": 291.7
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#7B4EE4
secondary
#D2E4AA
accent
#F038B9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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