#7C47BD#7C47BD

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

Color values

HEX#7C47BD
RGBrgb(124, 71, 189)
HSLhsl(267, 47%, 51%)
HSVhsv(267, 62%, 74%)
CMYKcmyk(34.4%, 62.4%, 0%, 25.9%)
CIE-LABlab(41.95, 46.37, -53.88)
CIE-LCHlch(41.95, 71.08, 310.72°)
OKLaboklab(51.95% 0.0921 -0.153)
OKLCHoklch(51.95% 0.179 301.1)
XYZxyz(19.7485, 12.4656, 49.4999)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47BD #88BD47
analogous
#474DBD #7C47BD #B747BD
triadic
#7C47BD #BD7C47 #47BD7C
tetradic
#7C47BD #BD474D #88BD47 #47BDB7
square
#7C47BD #BD474D #88BD47 #47BDB7
split-complementary
#7C47BD #BDB747 #4DBD47
monochromatic
#412465 #5F3492 #7C47BD #9C74CD #BCA1DD

Accessibility & contrast

On white

6.01
#7C47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7C47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47BD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47BD#FFFFFF#000000##FFFFFF
##7C47BD1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#6E607B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c47bd;
/* rgb */ color: rgb(124, 71, 189);
/* oklch */ color: oklch(52.0% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#a67dd2',
    500: '#7c47bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c47bd;
$custom-light: #a67dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47bd",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 266.949,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.17854,
    "h": 301.1
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#7C47BD
secondary
#B3CA96
accent
#D7519B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7C47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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