#7D47BC#7D47BC

#7D47BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.178 H 301.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D47BC
RGBrgb(125, 71, 188)
HSLhsl(268, 47%, 51%)
HSVhsv(268, 62%, 74%)
CMYKcmyk(33.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(42.00, 46.35, -53.21)
CIE-LCHlch(42.00, 70.56, 311.06°)
OKLaboklab(51.99% 0.0935 -0.151)
OKLCHoklch(51.99% 0.178 301.8)
XYZxyz(19.7856, 12.4972, 48.9370)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47BC #86BC47
analogous
#474BBC #7D47BC #B747BC
triadic
#7D47BC #BC7D47 #47BC7D
tetradic
#7D47BC #BC474B #86BC47 #47BCB7
square
#7D47BC #BC474B #86BC47 #47BCB7
split-complementary
#7D47BC #BCB747 #4BBC47
monochromatic
#422464 #5F3591 #7D47BC #9D74CC #BCA1DD

Accessibility & contrast

On white

6.00
#7D47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7D47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47BC#FFFFFF#000000##FFFFFF
##7D47BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2163B9
Tritanopia (blue-blind)
#70607B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d47bc;
/* rgb */ color: rgb(125, 71, 188);
/* oklch */ color: oklch(52.0% 0.178 301.8);
Tailwind
colors: {
  custom: {
    50: '#a77dd1',
    500: '#7d47bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d47bc;
$custom-light: #a77dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47bc",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 267.692,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.17756,
    "h": 301.8
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#7D47BC
secondary
#B1C995
accent
#D65299
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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