#7047CE#7047CE

#7047CE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.197 H 292.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7047CE
RGBrgb(112, 71, 206)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(45.6%, 65.5%, 0%, 19.2%)
CIE-LABlab(41.86, 48.38, -63.96)
CIE-LCHlch(41.86, 80.20, 307.10°)
OKLaboklab(51.97% 0.0742 -0.183)
OKLCHoklch(51.97% 0.197 292.1)
XYZxyz(20.0728, 12.4068, 59.7177)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CE #A5CE47
analogous
#4762CE #7047CE #B447CE
triadic
#7047CE #CE7047 #47CE70
tetradic
#7047CE #CE4762 #A5CE47 #47CEB4
square
#7047CE #CE4762 #A5CE47 #47CEB4
split-complementary
#7047CE #CEB447 #62CE47
monochromatic
#3C217A #532DAA #7047CE #9677DB #BBA8E8

Accessibility & contrast

On white

6.03
#7047CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7047CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CE#FFFFFF#000000##FFFFFF
##7047CE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#546884
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7047ce;
/* rgb */ color: rgb(112, 71, 206);
/* oklch */ color: oklch(52.0% 0.197 292.1);
Tailwind
colors: {
  custom: {
    50: '#a07dde',
    500: '#7047ce',
    950: '#000000',
  },
}
SCSS
$custom: #7047ce;
$custom-light: #a07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7047ce",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 258.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.19747,
    "h": 292.1
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#7047CE
secondary
#C4D59C
accent
#E147B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7047CE

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

Preview Lab → · Contrast checker → · Palette generator →

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