#7E47BF#7E47BF

#7E47BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.181 H 301.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7E47BF
RGBrgb(126, 71, 191)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 63%, 75%)
CMYKcmyk(34%, 62.8%, 0%, 25.1%)
CIE-LABlab(42.31, 47.32, -54.44)
CIE-LCHlch(42.31, 72.13, 311.00°)
OKLaboklab(52.31% 0.0947 -0.1546)
OKLCHoklch(52.31% 0.181 301.5)
XYZxyz(20.2592, 12.7036, 50.6648)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47BF #88BF47
analogous
#474CBF #7E47BF #BA47BF
triadic
#7E47BF #BF7E47 #47BF7E
tetradic
#7E47BF #BF474C #88BF47 #47BFBA
square
#7E47BF #BF474C #88BF47 #47BFBA
split-complementary
#7E47BF #BFBA47 #4CBF47
monochromatic
#432468 #603495 #7E47BF #9E74CF #BEA2DF

Accessibility & contrast

On white

5.93
#7E47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47BF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47BF#FFFFFF#000000##FFFFFF
##7E47BF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#71617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e47bf;
/* rgb */ color: rgb(126, 71, 191);
/* oklch */ color: oklch(52.3% 0.181 301.5);
Tailwind
colors: {
  custom: {
    50: '#a87dd3',
    500: '#7e47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e47bf;
$custom-light: #a87dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47bf",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 267.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.18124,
    "h": 301.5
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#7E47BF
secondary
#B3CB96
accent
#D8509A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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