#7A47D6#7A47D6

#7A47D6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.207 H 294.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7A47D6
RGBrgb(122, 71, 214)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43%, 66.8%, 0%, 16.1%)
CIE-LABlab(43.51, 52.42, -65.83)
CIE-LCHlch(43.51, 84.15, 308.53°)
OKLaboklab(53.59% 0.0869 -0.1882)
OKLCHoklch(53.59% 0.207 294.8)
XYZxyz(22.4136, 13.4985, 65.0299)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47D6 #A3D647
analogous
#475BD6 #7A47D6 #C247D6
triadic
#7A47D6 #D67A47 #47D67A
tetradic
#7A47D6 #D6475B #A3D647 #47D6C2
square
#7A47D6 #D6475B #A3D647 #47D6C2
split-complementary
#7A47D6 #D6C247 #5BD647
monochromatic
#421E85 #5C29B7 #7A47D6 #9E79E1 #C2ABEC

Accessibility & contrast

On white

5.68
#7A47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7A47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47D6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47D6#FFFFFF#000000##FFFFFF
##7A47D61.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#616989
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a47d6;
/* rgb */ color: rgb(122, 71, 214);
/* oklch */ color: oklch(53.6% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#a77ee4',
    500: '#7a47d6',
    950: '#000000',
  },
}
SCSS
$custom: #7a47d6;
$custom-light: #a77ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47d6",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 261.399,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.20725,
    "h": 294.8
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#7A47D6
secondary
#C5DA9F
accent
#E741AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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