#7C47DA#7C47DA

#7C47DA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.212 H 294.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C47DA
RGBrgb(124, 71, 218)
HSLhsl(262, 67%, 57%)
HSVhsv(262, 67%, 85%)
CMYKcmyk(43.1%, 67.4%, 0%, 14.5%)
CIE-LABlab(44.02, 53.84, -67.27)
CIE-LCHlch(44.02, 86.17, 308.67°)
OKLaboklab(54.1% 0.089 -0.1923)
OKLCHoklch(54.1% 0.212 294.8)
XYZxyz(23.2169, 13.8529, 67.7667)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47DA #A5DA47
analogous
#475CDA #7C47DA #C647DA
triadic
#7C47DA #DA7C47 #47DA7C
tetradic
#7C47DA #DA475C #A5DA47 #47DAC6
square
#7C47DA #DA475C #A5DA47 #47DAC6
split-complementary
#7C47DA #DAC647 #5CDA47
monochromatic
#441C8B #5D26BE #7C47DA #A07AE4 #C5ADEE

Accessibility & contrast

On white

5.57
#7C47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47DA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47DA#FFFFFF#000000##FFFFFF
##7C47DA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#626B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c47da;
/* rgb */ color: rgb(124, 71, 218);
/* oklch */ color: oklch(54.1% 0.212 294.8);
Tailwind
colors: {
  custom: {
    50: '#a97ee6',
    500: '#7c47da',
    950: '#000000',
  },
}
SCSS
$custom: #7c47da;
$custom-light: #a97ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47da",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 261.633,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.21195,
    "h": 294.8
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#7C47DA
secondary
#C7DCA0
accent
#E93EAC
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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