#7E44CA#7E44CA

#7E44CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.198 H 299.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E44CA
RGBrgb(126, 68, 202)
HSLhsl(266, 56%, 53%)
HSVhsv(266, 66%, 79%)
CMYKcmyk(37.6%, 66.3%, 0%, 20.8%)
CIE-LABlab(42.51, 51.64, -60.51)
CIE-LCHlch(42.51, 79.55, 310.47°)
OKLaboklab(52.7% 0.097 -0.1724)
OKLCHoklch(52.7% 0.198 299.4)
XYZxyz(21.3293, 12.8339, 57.2191)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E44CA #90CA44
analogous
#444DCA #7E44CA #C144CA
triadic
#7E44CA #CA7E44 #44CA7E
tetradic
#7E44CA #CA444D #90CA44 #44CAC1
square
#7E44CA #CA444D #90CA44 #44CAC1
split-complementary
#7E44CA #CAC144 #4DCA44
monochromatic
#442173 #612EA3 #7E44CA #9F74D8 #C0A3E5

Accessibility & contrast

On white

5.89
#7E44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E44CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E44CA#FFFFFF#000000##FFFFFF
##7E44CA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#6D6381
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e44ca;
/* rgb */ color: rgb(126, 68, 202);
/* oklch */ color: oklch(52.7% 0.198 299.4);
Tailwind
colors: {
  custom: {
    50: '#a97cdb',
    500: '#7e44ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e44ca;
$custom-light: #a97cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e44ca",
  "rgb": {
    "r": 126,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 265.97,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.19782,
    "h": 299.4
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#7E44CA
secondary
#B9D298
accent
#DF499E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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