#7C47CC#7C47CC

#7C47CC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.196 H 297.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7C47CC
RGBrgb(124, 71, 204)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(39.2%, 65.2%, 0%, 20%)
CIE-LABlab(42.99, 50.20, -60.91)
CIE-LCHlch(42.99, 78.93, 309.50°)
OKLaboklab(53.04% 0.0908 -0.1736)
OKLCHoklch(53.04% 0.196 297.6)
XYZxyz(21.4617, 13.1509, 58.5227)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CC #97CC47
analogous
#4755CC #7C47CC #BF47CC
triadic
#7C47CC #CC7C47 #47CC7C
tetradic
#7C47CC #CC4755 #97CC47 #47CCBF
square
#7C47CC #CC4755 #97CC47 #47CCBF
split-complementary
#7C47CC #CCBF47 #55CC47
monochromatic
#442177 #5F2EA7 #7C47CC #9E77D9 #C0A7E7

Accessibility & contrast

On white

5.78
#7C47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7C47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CC#FFFFFF#000000##FFFFFF
##7C47CC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#696683
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c47cc;
/* rgb */ color: rgb(124, 71, 204);
/* oklch */ color: oklch(53.0% 0.196 297.6);
Tailwind
colors: {
  custom: {
    50: '#a87ddc',
    500: '#7c47cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c47cc;
$custom-light: #a87ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47cc",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 263.91,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.19595,
    "h": 297.6
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#7C47CC
secondary
#BDD49B
accent
#E048A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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