#7C47C8#7C47C8

#7C47C8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.191 H 298.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7C47C8
RGBrgb(124, 71, 200)
HSLhsl(265, 54%, 53%)
HSVhsv(265, 65%, 78%)
CMYKcmyk(38%, 64.5%, 0%, 21.6%)
CIE-LABlab(42.70, 49.18, -59.05)
CIE-LCHlch(42.70, 76.85, 309.79°)
OKLaboklab(52.74% 0.0912 -0.1682)
OKLCHoklch(52.74% 0.191 298.5)
XYZxyz(20.9881, 12.9614, 56.0284)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47C8 #93C847
analogous
#4752C8 #7C47C8 #BC47C8
triadic
#7C47C8 #C87C47 #47C87C
tetradic
#7C47C8 #C84752 #93C847 #47C8BC
square
#7C47C8 #C84752 #93C847 #47C8BC
split-complementary
#7C47C8 #C8BC47 #52C847
monochromatic
#432272 #5F30A2 #7C47C8 #9E76D6 #BFA5E4

Accessibility & contrast

On white

5.85
#7C47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7C47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47C8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47C8#FFFFFF#000000##FFFFFF
##7C47C81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#6A6481
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c47c8;
/* rgb */ color: rgb(124, 71, 200);
/* oklch */ color: oklch(52.7% 0.191 298.5);
Tailwind
colors: {
  custom: {
    50: '#a77dd9',
    500: '#7c47c8',
    950: '#000000',
  },
}
SCSS
$custom: #7c47c8;
$custom-light: #a77dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47c8",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 264.651,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.19134,
    "h": 298.5
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#7C47C8
secondary
#BAD19A
accent
#DD4AA1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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