#7047DC#7047DC

#7047DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.214 H 289.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7047DC
RGBrgb(112, 71, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(49.1%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.94, 52.24, -70.23)
CIE-LCHlch(42.94, 87.53, 306.64°)
OKLaboklab(53.09% 0.0722 -0.2014)
OKLCHoklch(53.09% 0.214 289.7)
XYZxyz(21.8499, 13.1176, 69.0769)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047DC #B3DC47
analogous
#4769DC #7047DC #BB47DC
triadic
#7047DC #DC7047 #47DC70
tetradic
#7047DC #DC4769 #B3DC47 #47DCBB
square
#7047DC #DC4769 #B3DC47 #47DCBB
split-complementary
#7047DC #DCBB47 #69DC47
monochromatic
#3B1B8E #5025C1 #7047DC #987AE6 #C0AEF0

Accessibility & contrast

On white

5.80
#7047DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7047DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047DC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047DC#FFFFFF#000000##FFFFFF
##7047DC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#4B6D8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7047dc;
/* rgb */ color: rgb(112, 71, 220);
/* oklch */ color: oklch(53.1% 0.214 289.7);
Tailwind
colors: {
  custom: {
    50: '#a27de8',
    500: '#7047dc',
    950: '#000000',
  },
}
SCSS
$custom: #7047dc;
$custom-light: #a27de8;
$custom-dark: #000000;
JSON
{
  "hex": "#7047dc",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 256.51,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.21399,
    "h": 289.7
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#7047DC
secondary
#CDDEA1
accent
#EB3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7047DC

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

Preview Lab → · Contrast checker → · Palette generator →

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