#7C47C2#7C47C2

#7C47C2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.184 H 299.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7C47C2
RGBrgb(124, 71, 194)
HSLhsl(266, 50%, 52%)
HSVhsv(266, 63%, 76%)
CMYKcmyk(36.1%, 63.4%, 0%, 23.9%)
CIE-LABlab(42.29, 47.64, -56.24)
CIE-LCHlch(42.29, 73.71, 310.27°)
OKLaboklab(52.31% 0.0918 -0.1599)
OKLCHoklch(52.31% 0.184 299.8)
XYZxyz(20.3006, 12.6864, 52.4077)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47C2 #8DC247
analogous
#4750C2 #7C47C2 #BA47C2
triadic
#7C47C2 #C27C47 #47C27C
tetradic
#7C47C2 #C24750 #8DC247 #47C2BA
square
#7C47C2 #C24750 #8DC247 #47C2BA
split-complementary
#7C47C2 #C2BA47 #50C247
monochromatic
#42246B #5F3399 #7C47C2 #9D75D1 #BDA3E0

Accessibility & contrast

On white

5.94
#7C47C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7C47C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47C2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47C2#FFFFFF#000000##FFFFFF
##7C47C21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1063BF
Tritanopia (blue-blind)
#6D627E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c47c2;
/* rgb */ color: rgb(124, 71, 194);
/* oklch */ color: oklch(52.3% 0.184 299.8);
Tailwind
colors: {
  custom: {
    50: '#a77dd5',
    500: '#7c47c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c47c2;
$custom-light: #a77dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47c2",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 265.854,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.18437,
    "h": 299.8
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#7C47C2
secondary
#B6CD97
accent
#DA4E9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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