#7D47BF#7D47BF

#7D47BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.181 H 301.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7D47BF
RGBrgb(125, 71, 191)
HSLhsl(267, 48%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(34.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(42.20, 47.10, -54.63)
CIE-LCHlch(42.20, 72.13, 310.77°)
OKLaboklab(52.2% 0.0933 -0.1552)
OKLCHoklch(52.2% 0.181 301)
XYZxyz(20.1124, 12.6279, 50.6579)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47BF #89BF47
analogous
#474DBF #7D47BF #B947BF
triadic
#7D47BF #BF7D47 #47BF7D
tetradic
#7D47BF #BF474D #89BF47 #47BFB9
square
#7D47BF #BF474D #89BF47 #47BFB9
split-complementary
#7D47BF #BFB947 #4DBF47
monochromatic
#422468 #603495 #7D47BF #9D74CF #BDA2DF

Accessibility & contrast

On white

5.96
#7D47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7D47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47BF#FFFFFF#000000##FFFFFF
##7D47BF1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#6F617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d47bf;
/* rgb */ color: rgb(125, 71, 191);
/* oklch */ color: oklch(52.2% 0.181 301.0);
Tailwind
colors: {
  custom: {
    50: '#a77dd3',
    500: '#7d47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d47bf;
$custom-light: #a77dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47bf",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 267,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.18106,
    "h": 301
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#7D47BF
secondary
#B4CB96
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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