#7047C8#7047C8

#7047C8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.190 H 293.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7047C8
RGBrgb(112, 71, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 65%, 78%)
CMYKcmyk(44%, 64.5%, 0%, 21.6%)
CIE-LABlab(41.41, 46.73, -61.22)
CIE-LCHlch(41.41, 77.01, 307.36°)
OKLaboklab(51.51% 0.0749 -0.1749)
OKLCHoklch(51.51% 0.19 293.2)
XYZxyz(19.3578, 12.1208, 55.9520)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047C8 #9FC847
analogous
#475EC8 #7047C8 #B147C8
triadic
#7047C8 #C87047 #47C870
tetradic
#7047C8 #C8475E #9FC847 #47C8B1
square
#7047C8 #C8475E #9FC847 #47C8B1
split-complementary
#7047C8 #C8B147 #5EC847
monochromatic
#3C2272 #5430A2 #7047C8 #9576D6 #B9A5E4

Accessibility & contrast

On white

6.13
#7047C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7047C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047C8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047C8#FFFFFF#000000##FFFFFF
##7047C81.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#576581
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7047c8;
/* rgb */ color: rgb(112, 71, 200);
/* oklch */ color: oklch(51.5% 0.190 293.2);
Tailwind
colors: {
  custom: {
    50: '#a07cda',
    500: '#7047c8',
    950: '#000000',
  },
}
SCSS
$custom: #7047c8;
$custom-light: #a07cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7047c8",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 259.07,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.19028,
    "h": 293.2
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#7047C8
secondary
#C0D19A
accent
#DD4AAF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7047C8

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

Preview Lab → · Contrast checker → · Palette generator →

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