#7A47EA#7A47EA

#7A47EA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.230 H 291.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A47EA
RGBrgb(122, 71, 234)
HSLhsl(259, 80%, 60%)
HSVhsv(259, 70%, 92%)
CMYKcmyk(47.9%, 69.7%, 0%, 8.2%)
CIE-LABlab(45.06, 57.72, -74.68)
CIE-LCHlch(45.06, 94.38, 307.70°)
OKLaboklab(55.18% 0.0836 -0.2142)
OKLCHoklch(55.18% 0.23 291.3)
XYZxyz(25.1264, 14.5836, 79.3170)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47EA #B7EA47
analogous
#4766EA #7A47EA #CB47EA
triadic
#7A47EA #EA7A47 #47EA7A
tetradic
#7A47EA #EA4766 #B7EA47 #47EACB
square
#7A47EA #EA4766 #B7EA47 #47EACB
split-complementary
#7A47EA #EACB47 #66EA47
monochromatic
#4013A4 #5619DB #7A47EA #A27EF0 #C9B5F7

Accessibility & contrast

On white

5.36
#7A47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7A47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47EA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47EA#FFFFFF#000000##FFFFFF
##7A47EA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#567194
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a47ea;
/* rgb */ color: rgb(122, 71, 234);
/* oklch */ color: oklch(55.2% 0.230 291.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ef2',
    500: '#7a47ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a47ea;
$custom-light: #aa7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47ea",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 258.773,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.22992,
    "h": 291.3
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#7A47EA
secondary
#D2E6A7
accent
#F632B9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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