#7B4EC0#7B4EC0

#7B4EC0 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.172 H 298.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7B4EC0
RGBrgb(123, 78, 192)
HSLhsl(264, 48%, 53%)
HSVhsv(264, 59%, 75%)
CMYKcmyk(35.9%, 59.4%, 0%, 24.7%)
CIE-LABlab(43.46, 43.11, -53.20)
CIE-LCHlch(43.46, 68.47, 309.02°)
OKLaboklab(53.09% 0.0822 -0.151)
OKLCHoklch(53.09% 0.172 298.6)
XYZxyz(20.4048, 13.4653, 51.3830)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4EC0 #93C04E
analogous
#4E5AC0 #7B4EC0 #B44EC0
triadic
#7B4EC0 #C07B4E #4EC07B
tetradic
#7B4EC0 #C04E5A #93C04E #4EC0B4
square
#7B4EC0 #C04E5A #93C04E #4EC0B4
split-complementary
#7B4EC0 #C0B44E #5AC04E
monochromatic
#42276D #5E379A #7B4EC0 #9D7BD0 #BEA8E0

Accessibility & contrast

On white

5.69
#7B4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7B4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4EC0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4EC0#FFFFFF#000000##FFFFFF
##7B4EC01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C4
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#6C667F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4ec0;
/* rgb */ color: rgb(123, 78, 192);
/* oklch */ color: oklch(53.1% 0.172 298.6);
Tailwind
colors: {
  custom: {
    50: '#a581d4',
    500: '#7b4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ec0;
$custom-light: #a581d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ec0",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 263.684,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.17196,
    "h": 298.6
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#7B4EC0
secondary
#BACE9C
accent
#D751A2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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