#7B4EE0#7B4EE0

#7B4EE0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.210 H 292.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7B4EE0
RGBrgb(123, 78, 224)
HSLhsl(258, 70%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(45.1%, 65.2%, 0%, 12.2%)
CIE-LABlab(45.69, 51.63, -67.98)
CIE-LCHlch(45.69, 85.36, 307.21°)
OKLaboklab(55.42% 0.0799 -0.1945)
OKLCHoklch(55.42% 0.21 292.3)
XYZxyz(24.3436, 15.0408, 72.1271)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EE0 #B3E04E
analogous
#4E6AE0 #7B4EE0 #C44EE0
triadic
#7B4EE0 #E07B4E #4EE07B
tetradic
#7B4EE0 #E04E6A #B3E04E #4EE0C4
square
#7B4EE0 #E04E6A #B3E04E #4EE0C4
split-complementary
#7B4EE0 #E0C44E #6AE04E
monochromatic
#421B99 #5824CD #7B4EE0 #A282E9 #C9B6F2

Accessibility & contrast

On white

5.24
#7B4EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7B4EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EE0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EE0#FFFFFF#000000##FFFFFF
##7B4EE01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#5D7190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4ee0;
/* rgb */ color: rgb(123, 78, 224);
/* oklch */ color: oklch(55.4% 0.210 292.3);
Tailwind
colors: {
  custom: {
    50: '#a982eb',
    500: '#7b4ee0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ee0;
$custom-light: #a982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ee0",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 258.493,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.21025,
    "h": 292.3
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#7B4EE0
secondary
#D0E1A8
accent
#ED3BB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7B4EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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