#7C47CD#7C47CD

#7C47CD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.197 H 297.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C47CD
RGBrgb(124, 71, 205)
HSLhsl(264, 57%, 54%)
HSVhsv(264, 65%, 80%)
CMYKcmyk(39.5%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.06, 50.46, -61.37)
CIE-LCHlch(43.06, 79.45, 309.43°)
OKLaboklab(53.11% 0.0907 -0.175)
OKLCHoklch(53.11% 0.197 297.4)
XYZxyz(21.5820, 13.1990, 59.1564)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47CD #98CD47
analogous
#4755CD #7C47CD #BF47CD
triadic
#7C47CD #CD7C47 #47CD7C
tetradic
#7C47CD #CD4755 #98CD47 #47CDBF
square
#7C47CD #CD4755 #98CD47 #47CDBF
split-complementary
#7C47CD #CDBF47 #55CD47
monochromatic
#442179 #5F2EA9 #7C47CD #9E77DA #C1A7E7

Accessibility & contrast

On white

5.77
#7C47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7C47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47CD#FFFFFF#000000##FFFFFF
##7C47CD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#686684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c47cd;
/* rgb */ color: rgb(124, 71, 205);
/* oklch */ color: oklch(53.1% 0.197 297.4);
Tailwind
colors: {
  custom: {
    50: '#a87ddd',
    500: '#7c47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c47cd;
$custom-light: #a87ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47cd",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 263.731,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.1971,
    "h": 297.4
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#7C47CD
secondary
#BED49B
accent
#E147A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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