#7E4BD0#7E4BD0

#7E4BD0 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.196 H 297.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E4BD0
RGBrgb(126, 75, 208)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 64%, 82%)
CMYKcmyk(39.4%, 63.9%, 0%, 18.4%)
CIE-LABlab(44.26, 49.56, -61.14)
CIE-LCHlch(44.26, 78.70, 309.03°)
OKLaboklab(54.1% 0.0888 -0.1742)
OKLCHoklch(54.1% 0.196 297)
XYZxyz(22.5025, 14.0214, 61.1831)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BD0 #9DD04B
analogous
#4B5AD0 #7E4BD0 #C14BD0
triadic
#7E4BD0 #D07E4B #4BD07E
tetradic
#7E4BD0 #D04B5A #9DD04B #4BD0C1
square
#7E4BD0 #D04B5A #9DD04B #4BD0C1
split-complementary
#7E4BD0 #D0C14B #5AD04B
monochromatic
#45217F #602EB0 #7E4BD0 #A17CDD #C4ACE9

Accessibility & contrast

On white

5.52
#7E4BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E4BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BD0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BD0#FFFFFF#000000##FFFFFF
##7E4BD01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#6A6987
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e4bd0;
/* rgb */ color: rgb(126, 75, 208);
/* oklch */ color: oklch(54.1% 0.196 297.0);
Tailwind
colors: {
  custom: {
    50: '#a980df',
    500: '#7e4bd0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bd0;
$custom-light: #a980df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bd0",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 263.008,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.19557,
    "h": 297
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#7E4BD0
secondary
#C2D7A0
accent
#E246A6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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