#7C47BF#7C47BF

#7C47BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.181 H 300.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7C47BF
RGBrgb(124, 71, 191)
HSLhsl(267, 48%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(35.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(42.08, 46.88, -54.83)
CIE-LCHlch(42.08, 72.14, 310.53°)
OKLaboklab(52.09% 0.092 -0.1557)
OKLCHoklch(52.09% 0.181 300.6)
XYZxyz(19.9671, 12.5530, 50.6511)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C47BF #8ABF47
analogous
#474EBF #7C47BF #B847BF
triadic
#7C47BF #BF7C47 #47BF7C
tetradic
#7C47BF #BF474E #8ABF47 #47BFB8
square
#7C47BF #BF474E #8ABF47 #47BFB8
split-complementary
#7C47BF #BFB847 #4EBF47
monochromatic
#422468 #5F3495 #7C47BF #9C74CF #BDA2DF

Accessibility & contrast

On white

5.98
#7C47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7C47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C47BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C47BF#FFFFFF#000000##FFFFFF
##7C47BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1963BC
Tritanopia (blue-blind)
#6E617C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c47bf;
/* rgb */ color: rgb(124, 71, 191);
/* oklch */ color: oklch(52.1% 0.181 300.6);
Tailwind
colors: {
  custom: {
    50: '#a67dd3',
    500: '#7c47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c47bf;
$custom-light: #a67dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c47bf",
  "rgb": {
    "r": 124,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 266.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.18087,
    "h": 300.6
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#7C47BF
secondary
#B4CB96
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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