#7E4FDF#7E4FDF

#7E4FDF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.208 H 293.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E4FDF
RGBrgb(126, 79, 223)
HSLhsl(260, 69%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(46.12, 51.40, -66.71)
CIE-LCHlch(46.12, 84.21, 307.61°)
OKLaboklab(55.77% 0.083 -0.1906)
OKLCHoklch(55.77% 0.208 293.5)
XYZxyz(24.7158, 15.3546, 71.4592)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FDF #B0DF4F
analogous
#4F68DF #7E4FDF #C64FDF
triadic
#7E4FDF #DF7E4F #4FDF7E
tetradic
#7E4FDF #DF4F68 #B0DF4F #4FDFC6
square
#7E4FDF #DF4F68 #B0DF4F #4FDFC6
split-complementary
#7E4FDF #DFC64F #68DF4F
monochromatic
#441C98 #5B25CC #7E4FDF #A483E8 #CAB7F2

Accessibility & contrast

On white

5.16
#7E4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7E4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FDF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FDF#FFFFFF#000000##FFFFFF
##7E4FDF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#637190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4fdf;
/* rgb */ color: rgb(126, 79, 223);
/* oklch */ color: oklch(55.8% 0.208 293.5);
Tailwind
colors: {
  custom: {
    50: '#aa83ea',
    500: '#7e4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #7e4fdf;
$custom-light: #aa83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4fdf",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 259.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.20793,
    "h": 293.5
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#7E4FDF
secondary
#CFE1A9
accent
#EC3CB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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