#7B4ED7#7B4ED7

#7B4ED7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.200 H 293.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B4ED7
RGBrgb(123, 78, 215)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.8%, 63.7%, 0%, 15.7%)
CIE-LABlab(45.03, 49.20, -63.92)
CIE-LCHlch(45.03, 80.66, 307.59°)
OKLaboklab(54.74% 0.0808 -0.1825)
OKLCHoklch(54.74% 0.2 293.9)
XYZxyz(23.1552, 14.5654, 65.8682)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ED7 #AAD74E
analogous
#4E65D7 #7B4ED7 #C04ED7
triadic
#7B4ED7 #D77B4E #4ED77B
tetradic
#7B4ED7 #D74E65 #AAD74E #4ED7C0
square
#7B4ED7 #D74E65 #AAD74E #4ED7C0
split-complementary
#7B4ED7 #D7C04E #65D74E
monochromatic
#431F8B #5B2BBD #7B4ED7 #A080E2 #C5B2EE

Accessibility & contrast

On white

5.37
#7B4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ED7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ED7#FFFFFF#000000##FFFFFF
##7B4ED71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#626E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ed7;
/* rgb */ color: rgb(123, 78, 215);
/* oklch */ color: oklch(54.7% 0.200 293.9);
Tailwind
colors: {
  custom: {
    50: '#a882e4',
    500: '#7b4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ed7;
$custom-light: #a882e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ed7",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 259.708,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.19964,
    "h": 293.9
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#7B4ED7
secondary
#CADCA5
accent
#E642B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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