#7047D2#7047D2

#7047D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.202 H 291.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7047D2
RGBrgb(112, 71, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 66%, 82%)
CMYKcmyk(46.7%, 66.2%, 0%, 17.6%)
CIE-LABlab(42.16, 49.48, -65.77)
CIE-LCHlch(42.16, 82.30, 306.95°)
OKLaboklab(52.28% 0.0737 -0.1883)
OKLCHoklch(52.28% 0.202 291.4)
XYZxyz(20.5649, 12.6036, 62.3095)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047D2 #A9D247
analogous
#4763D2 #7047D2 #B647D2
triadic
#7047D2 #D27047 #47D270
tetradic
#7047D2 #D24763 #A9D247 #47D2B6
square
#7047D2 #D24763 #A9D247 #47D2B6
split-complementary
#7047D2 #D2B647 #63D247
monochromatic
#3C1F7F #532BB1 #7047D2 #9678DE #BCA9EA

Accessibility & contrast

On white

5.96
#7047D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7047D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047D2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047D2#FFFFFF#000000##FFFFFF
##7047D21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#526986
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7047d2;
/* rgb */ color: rgb(112, 71, 210);
/* oklch */ color: oklch(52.3% 0.202 291.4);
Tailwind
colors: {
  custom: {
    50: '#a17de1',
    500: '#7047d2',
    950: '#000000',
  },
}
SCSS
$custom: #7047d2;
$custom-light: #a17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7047d2",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 257.698,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.20222,
    "h": 291.4
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#7047D2
secondary
#C6D89D
accent
#E444B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7047D2

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

Preview Lab → · Contrast checker → · Palette generator →

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