#7E4BDB#7E4BDB

#7E4BDB is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.208 H 294.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E4BDB
RGBrgb(126, 75, 219)
HSLhsl(261, 67%, 58%)
HSVhsv(261, 66%, 86%)
CMYKcmyk(42.5%, 65.8%, 0%, 14.1%)
CIE-LABlab(45.06, 52.43, -66.15)
CIE-LCHlch(45.06, 84.41, 308.40°)
OKLaboklab(54.92% 0.0876 -0.189)
OKLCHoklch(54.92% 0.208 294.9)
XYZxyz(23.9030, 14.5817, 68.5593)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BDB #A8DB4B
analogous
#4B60DB #7E4BDB #C64BDB
triadic
#7E4BDB #DB7E4B #4BDB7E
tetradic
#7E4BDB #DB4B60 #A8DB4B #4BDBC6
square
#7E4BDB #DB4B60 #A8DB4B #4BDBC6
split-complementary
#7E4BDB #DBC64B #60DB4B
monochromatic
#451D8F #5E27C2 #7E4BDB #A37EE5 #C7B1EF

Accessibility & contrast

On white

5.36
#7E4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BDB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BDB#FFFFFF#000000##FFFFFF
##7E4BDB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#656D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e4bdb;
/* rgb */ color: rgb(126, 75, 219);
/* oklch */ color: oklch(54.9% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#aa80e7',
    500: '#7e4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7e4bdb;
$custom-light: #aa80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4bdb",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 261.25,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.20831,
    "h": 294.9
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#7E4BDB
secondary
#C9DEA4
accent
#EA3EAD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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