#7A47CF#7A47CF

#7A47CF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.199 H 296.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7A47CF
RGBrgb(122, 71, 207)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(41.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(42.99, 50.58, -62.65)
CIE-LCHlch(42.99, 80.52, 308.92°)
OKLaboklab(53.05% 0.0878 -0.1788)
OKLCHoklch(53.05% 0.199 296.1)
XYZxyz(21.5388, 13.1486, 60.4225)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A47CF #9CCF47
analogous
#4758CF #7A47CF #BE47CF
triadic
#7A47CF #CF7A47 #47CF7A
tetradic
#7A47CF #CF4758 #9CCF47 #47CFBE
square
#7A47CF #CF4758 #9CCF47 #47CFBE
split-complementary
#7A47CF #CFBE47 #58CF47
monochromatic
#42207B #5D2DAC #7A47CF #9D78DC #C0A8E8

Accessibility & contrast

On white

5.79
#7A47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7A47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A47CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A47CF#FFFFFF#000000##FFFFFF
##7A47CF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#646785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a47cf;
/* rgb */ color: rgb(122, 71, 207);
/* oklch */ color: oklch(53.1% 0.199 296.1);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7a47cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a47cf;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a47cf",
  "rgb": {
    "r": 122,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 262.5,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.1992,
    "h": 296.1
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#7A47CF
secondary
#C0D69C
accent
#E246A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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