#7C47CA#7C47CA

#7C47CA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.194 H 298.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7C47CA
RGBrgb(124, 71, 202)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 65%, 79%)
CMYKcmyk(38.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.85, 49.69, -59.98)
CIE-LCHlch(42.85, 77.89, 309.64°)
OKLaboklab(52.89% 0.091 -0.1709)
OKLCHoklch(52.89% 0.194 298)
XYZxyz(21.2234, 13.0555, 57.2675)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CA #95CA47
analogous
#4753CA #7C47CA #BD47CA
triadic
#7C47CA #CA7C47 #47CA7C
tetradic
#7C47CA #CA4753 #95CA47 #47CABD
square
#7C47CA #CA4753 #95CA47 #47CABD
split-complementary
#7C47CA #CABD47 #53CA47
monochromatic
#432275 #5F2FA4 #7C47CA #9E77D8 #C0A6E5

Accessibility & contrast

On white

5.82
#7C47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7C47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CA#FFFFFF#000000##FFFFFF
##7C47CA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#696582
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c47ca;
/* rgb */ color: rgb(124, 71, 202);
/* oklch */ color: oklch(52.9% 0.194 298.0);
Tailwind
colors: {
  custom: {
    50: '#a77ddb',
    500: '#7c47ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c47ca;
$custom-light: #a77ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47ca",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 264.275,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.19365,
    "h": 298
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#7C47CA
secondary
#BCD29A
accent
#DF49A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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