#7A47BF#7A47BF

#7A47BF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.181 H 299.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A47BF
RGBrgb(122, 71, 191)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(36.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(41.85, 46.44, -55.21)
CIE-LCHlch(41.85, 72.14, 310.07°)
OKLaboklab(51.88% 0.0893 -0.1569)
OKLCHoklch(51.88% 0.181 299.6)
XYZxyz(19.6809, 12.4055, 50.6377)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47BF #8CBF47
analogous
#4750BF #7A47BF #B647BF
triadic
#7A47BF #BF7A47 #47BF7A
tetradic
#7A47BF #BF4750 #8CBF47 #47BFB6
square
#7A47BF #BF4750 #8CBF47 #47BFB6
split-complementary
#7A47BF #BFB647 #50BF47
monochromatic
#412468 #5D3495 #7A47BF #9B74CF #BCA2DF

Accessibility & contrast

On white

6.03
#7A47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47BF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47BF#FFFFFF#000000##FFFFFF
##7A47BF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a47bf;
/* rgb */ color: rgb(122, 71, 191);
/* oklch */ color: oklch(51.9% 0.181 299.6);
Tailwind
colors: {
  custom: {
    50: '#a57dd3',
    500: '#7a47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a47bf;
$custom-light: #a57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47bf",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 265.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.18055,
    "h": 299.6
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#7A47BF
secondary
#B5CB96
accent
#D8509E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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