#7C47CB#7C47CB

#7C47CB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.195 H 297.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C47CB
RGBrgb(124, 71, 203)
HSLhsl(264, 56%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(38.9%, 65%, 0%, 20.4%)
CIE-LABlab(42.92, 49.95, -60.44)
CIE-LCHlch(42.92, 78.41, 309.57°)
OKLaboklab(52.96% 0.0909 -0.1723)
OKLCHoklch(52.96% 0.195 297.8)
XYZxyz(21.3422, 13.1030, 57.8930)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CB #96CB47
analogous
#4754CB #7C47CB #BE47CB
triadic
#7C47CB #CB7C47 #47CB7C
tetradic
#7C47CB #CB4754 #96CB47 #47CBBE
square
#7C47CB #CB4754 #96CB47 #47CBBE
split-complementary
#7C47CB #CBBE47 #54CB47
monochromatic
#432176 #5F2FA6 #7C47CB #9E77D8 #C0A6E6

Accessibility & contrast

On white

5.80
#7C47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CB#FFFFFF#000000##FFFFFF
##7C47CB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#696583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c47cb;
/* rgb */ color: rgb(124, 71, 203);
/* oklch */ color: oklch(53.0% 0.195 297.8);
Tailwind
colors: {
  custom: {
    50: '#a87ddc',
    500: '#7c47cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c47cb;
$custom-light: #a87ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47cb",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 264.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.1948,
    "h": 297.8
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#7C47CB
secondary
#BCD39B
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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