#7E419B#7E419B

#7E419B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.1% C 0.149 H 313.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E419B
RGBrgb(126, 65, 155)
HSLhsl(281, 41%, 43%)
HSVhsv(281, 58%, 61%)
CMYKcmyk(18.7%, 58.1%, 0%, 39.2%)
CIE-LABlab(38.87, 41.91, -38.62)
CIE-LCHlch(38.87, 56.99, 317.34°)
OKLaboklab(49.08% 0.1027 -0.1082)
OKLCHoklch(49.08% 0.149 313.5)
XYZxyz(16.4099, 10.5832, 32.1823)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E419B #5E9B41
analogous
#51419B #7E419B #9B418B
triadic
#7E419B #9B7E41 #419B7E
tetradic
#7E419B #9B5141 #5E9B41 #418B9B
square
#7E419B #9B5141 #5E9B41 #418B9B
split-complementary
#7E419B #8B9B41 #419B51
monochromatic
#381D45 #5B2F70 #7E419B #9D5EBB #B789CD

Accessibility & contrast

On white

6.74
#7E419B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7E419B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E419B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E419B#FFFFFF#000000##FFFFFF
##7E419B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#7B5068
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e419b;
/* rgb */ color: rgb(126, 65, 155);
/* oklch */ color: oklch(49.1% 0.149 313.5);
Tailwind
colors: {
  custom: {
    50: '#a679b9',
    500: '#7e419b',
    950: '#000000',
  },
}
SCSS
$custom: #7e419b;
$custom-light: #a679b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e419b",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 280.667,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.14916,
    "h": 313.5
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#7E419B
secondary
#92B880
accent
#D1577E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7E419B

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

Preview Lab → · Contrast checker → · Palette generator →

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