#7C47CE#7C47CE

#7C47CE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.198 H 297.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C47CE
RGBrgb(124, 71, 206)
HSLhsl(264, 58%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(39.8%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.13, 50.72, -61.83)
CIE-LCHlch(43.13, 79.97, 309.37°)
OKLaboklab(53.19% 0.0906 -0.1763)
OKLCHoklch(53.19% 0.198 297.2)
XYZxyz(21.7031, 13.2474, 59.7941)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CE #99CE47
analogous
#4755CE #7C47CE #C047CE
triadic
#7C47CE #CE7C47 #47CE7C
tetradic
#7C47CE #CE4755 #99CE47 #47CEC0
square
#7C47CE #CE4755 #99CE47 #47CEC0
split-complementary
#7C47CE #CEC047 #55CE47
monochromatic
#44217A #5E2DAA #7C47CE #9E77DB #C1A8E8

Accessibility & contrast

On white

5.75
#7C47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CE#FFFFFF#000000##FFFFFF
##7C47CE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#686684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c47ce;
/* rgb */ color: rgb(124, 71, 206);
/* oklch */ color: oklch(53.2% 0.198 297.2);
Tailwind
colors: {
  custom: {
    50: '#a87dde',
    500: '#7c47ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c47ce;
$custom-light: #a87dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47ce",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 263.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.19825,
    "h": 297.2
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#7C47CE
secondary
#BFD59C
accent
#E147A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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