#7E4BE0#7E4BE0

#7E4BE0 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.214 H 294.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7E4BE0
RGBrgb(126, 75, 224)
HSLhsl(261, 71%, 59%)
HSVhsv(261, 67%, 88%)
CMYKcmyk(43.7%, 66.5%, 0%, 12.2%)
CIE-LABlab(45.43, 53.75, -68.40)
CIE-LCHlch(45.43, 86.99, 308.16°)
OKLaboklab(55.3% 0.0869 -0.1956)
OKLCHoklch(55.3% 0.214 294)
XYZxyz(24.5712, 14.8489, 72.0781)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4BE0 #ADE04B
analogous
#4B62E0 #7E4BE0 #C84BE0
triadic
#7E4BE0 #E07E4B #4BE07E
tetradic
#7E4BE0 #E04B62 #ADE04B #4BE0C8
square
#7E4BE0 #E04B62 #ADE04B #4BE0C8
split-complementary
#7E4BE0 #E0C84B #62E04B
monochromatic
#451A97 #5C23CB #7E4BE0 #A37FE9 #C9B3F2

Accessibility & contrast

On white

5.29
#7E4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7E4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4BE0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4BE0#FFFFFF#000000##FFFFFF
##7E4BE01.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#626F8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e4be0;
/* rgb */ color: rgb(126, 75, 224);
/* oklch */ color: oklch(55.3% 0.214 294.0);
Tailwind
colors: {
  custom: {
    50: '#ab81eb',
    500: '#7e4be0',
    950: '#000000',
  },
}
SCSS
$custom: #7e4be0;
$custom-light: #ab81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4be0",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 260.537,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.21405,
    "h": 294
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#7E4BE0
secondary
#CDE1A6
accent
#ED3AB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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