#7C47D5#7C47D5

#7C47D5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.206 H 295.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C47D5
RGBrgb(124, 71, 213)
HSLhsl(262, 63%, 56%)
HSVhsv(262, 67%, 84%)
CMYKcmyk(41.8%, 66.7%, 0%, 16.5%)
CIE-LABlab(43.65, 52.54, -65.02)
CIE-LCHlch(43.65, 83.59, 308.94°)
OKLaboklab(53.72% 0.0897 -0.1857)
OKLCHoklch(53.72% 0.206 295.8)
XYZxyz(22.5725, 13.5952, 64.3727)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47D5 #A0D547
analogous
#4759D5 #7C47D5 #C347D5
triadic
#7C47D5 #D57C47 #47D57C
tetradic
#7C47D5 #D54759 #A0D547 #47D5C3
square
#7C47D5 #D54759 #A0D547 #47D5C3
split-complementary
#7C47D5 #D5C347 #59D547
monochromatic
#441E84 #5E29B5 #7C47D5 #9F79E0 #C3ABEC

Accessibility & contrast

On white

5.65
#7C47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7C47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47D5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47D5#FFFFFF#000000##FFFFFF
##7C47D51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#656988
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c47d5;
/* rgb */ color: rgb(124, 71, 213);
/* oklch */ color: oklch(53.7% 0.206 295.8);
Tailwind
colors: {
  custom: {
    50: '#a97ee3',
    500: '#7c47d5',
    950: '#000000',
  },
}
SCSS
$custom: #7c47d5;
$custom-light: #a97ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47d5",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 262.394,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.20626,
    "h": 295.8
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#7C47D5
secondary
#C3D99E
accent
#E642A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7C47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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