#7047CC#7047CC

#7047CC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.195 H 292.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7047CC
RGBrgb(112, 71, 204)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(45.1%, 65.2%, 0%, 20%)
CIE-LABlab(41.70, 47.83, -63.05)
CIE-LCHlch(41.70, 79.14, 307.18°)
OKLaboklab(51.81% 0.0744 -0.1803)
OKLCHoklch(51.81% 0.195 292.4)
XYZxyz(19.8314, 12.3102, 58.4463)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CC #A3CC47
analogous
#4761CC #7047CC #B347CC
triadic
#7047CC #CC7047 #47CC70
tetradic
#7047CC #CC4761 #A3CC47 #47CCB3
square
#7047CC #CC4761 #A3CC47 #47CCB3
split-complementary
#7047CC #CCB347 #61CC47
monochromatic
#3C2177 #542EA7 #7047CC #9577D9 #BAA7E7

Accessibility & contrast

On white

6.07
#7047CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7047CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CC#FFFFFF#000000##FFFFFF
##7047CC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#556783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7047cc;
/* rgb */ color: rgb(112, 71, 204);
/* oklch */ color: oklch(51.8% 0.195 292.4);
Tailwind
colors: {
  custom: {
    50: '#a07ddc',
    500: '#7047cc',
    950: '#000000',
  },
}
SCSS
$custom: #7047cc;
$custom-light: #a07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7047cc",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 258.496,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.19508,
    "h": 292.4
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#7047CC
secondary
#C2D49B
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7047CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7047CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva