#7A47CD#7A47CD

#7A47CD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.197 H 296.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7A47CD
RGBrgb(122, 71, 205)
HSLhsl(263, 57%, 54%)
HSVhsv(263, 65%, 80%)
CMYKcmyk(40.5%, 65.4%, 0%, 19.6%)
CIE-LABlab(42.84, 50.06, -61.73)
CIE-LCHlch(42.84, 79.48, 309.04°)
OKLaboklab(52.9% 0.088 -0.1761)
OKLCHoklch(52.9% 0.197 296.5)
XYZxyz(21.2959, 13.0514, 59.1429)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47CD #9ACD47
analogous
#4757CD #7A47CD #BD47CD
triadic
#7A47CD #CD7A47 #47CD7A
tetradic
#7A47CD #CD4757 #9ACD47 #47CDBD
square
#7A47CD #CD4757 #9ACD47 #47CDBD
split-complementary
#7A47CD #CDBD47 #57CD47
monochromatic
#422179 #5D2EA9 #7A47CD #9D77DA #C0A7E7

Accessibility & contrast

On white

5.82
#7A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7A47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47CD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47CD#FFFFFF#000000##FFFFFF
##7A47CD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#656684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a47cd;
/* rgb */ color: rgb(122, 71, 205);
/* oklch */ color: oklch(52.9% 0.197 296.5);
Tailwind
colors: {
  custom: {
    50: '#a67ddd',
    500: '#7a47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a47cd;
$custom-light: #a67ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47cd",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 262.836,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.19689,
    "h": 296.5
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#7A47CD
secondary
#BFD49B
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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