#7A47BE#7A47BE

#7A47BE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.179 H 299.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7A47BE
RGBrgb(122, 71, 190)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(35.8%, 62.6%, 0%, 25.5%)
CIE-LABlab(41.79, 46.18, -54.73)
CIE-LCHlch(41.79, 71.61, 310.16°)
OKLaboklab(51.8% 0.0893 -0.1555)
OKLCHoklch(51.8% 0.179 299.9)
XYZxyz(19.5713, 12.3616, 50.0601)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47BE #8BBE47
analogous
#474FBE #7A47BE #B547BE
triadic
#7A47BE #BE7A47 #47BE7A
tetradic
#7A47BE #BE474F #8BBE47 #47BEB5
square
#7A47BE #BE474F #8BBE47 #47BEB5
split-complementary
#7A47BE #BEB547 #4FBE47
monochromatic
#412466 #5D3494 #7A47BE #9B74CE #BBA1DE

Accessibility & contrast

On white

6.05
#7A47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7A47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47BE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47BE#FFFFFF#000000##FFFFFF
##7A47BE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1762BB
Tritanopia (blue-blind)
#6B617C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a47be;
/* rgb */ color: rgb(122, 71, 190);
/* oklch */ color: oklch(51.8% 0.179 299.9);
Tailwind
colors: {
  custom: {
    50: '#a57dd2',
    500: '#7a47be',
    950: '#000000',
  },
}
SCSS
$custom: #7a47be;
$custom-light: #a57dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47be",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 265.714,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.17937,
    "h": 299.9
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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