#7C47CF#7C47CF

#7C47CF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.199 H 297.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7C47CF
RGBrgb(124, 71, 207)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(43.21, 50.98, -62.28)
CIE-LCHlch(43.21, 80.49, 309.30°)
OKLaboklab(53.26% 0.0905 -0.1777)
OKLCHoklch(53.26% 0.199 297)
XYZxyz(21.8250, 13.2962, 60.4359)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CF #9ACF47
analogous
#4756CF #7C47CF #C047CF
triadic
#7C47CF #CF7C47 #47CF7C
tetradic
#7C47CF #CF4756 #9ACF47 #47CFC0
square
#7C47CF #CF4756 #9ACF47 #47CFC0
split-complementary
#7C47CF #CFC047 #56CF47
monochromatic
#44207B #5E2DAC #7C47CF #9F78DC #C1A8E8

Accessibility & contrast

On white

5.74
#7C47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7C47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CF#FFFFFF#000000##FFFFFF
##7C47CF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#676785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c47cf;
/* rgb */ color: rgb(124, 71, 207);
/* oklch */ color: oklch(53.3% 0.199 297.0);
Tailwind
colors: {
  custom: {
    50: '#a87ddf',
    500: '#7c47cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c47cf;
$custom-light: #a87ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47cf",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 263.382,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.1994,
    "h": 297
  },
  "luminance": 0.13297
}

Semantic roles & 50–950 ramp

primary
#7C47CF
secondary
#BFD69C
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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