#7047E5#7047E5

#7047E5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.224 H 288.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7047E5
RGBrgb(112, 71, 229)
HSLhsl(256, 75%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(51.1%, 69%, 0%, 10.2%)
CIE-LABlab(43.66, 54.74, -74.17)
CIE-LCHlch(43.66, 92.18, 306.43°)
OKLaboklab(53.83% 0.0707 -0.213)
OKLCHoklch(53.83% 0.224 288.4)
XYZxyz(23.0741, 13.6073, 75.5242)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047E5 #BCE547
analogous
#476DE5 #7047E5 #BF47E5
triadic
#7047E5 #E57047 #47E570
tetradic
#7047E5 #E5476D #BCE547 #47E5BF
square
#7047E5 #E5476D #BCE547 #47E5BF
split-complementary
#7047E5 #E5BF47 #6DE547
monochromatic
#39169C #4C1ED1 #7047E5 #9A7DED #C3B2F4

Accessibility & contrast

On white

5.64
#7047E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7047E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047E5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047E5#FFFFFF#000000##FFFFFF
##7047E51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#447091
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7047e5;
/* rgb */ color: rgb(112, 71, 229);
/* oklch */ color: oklch(53.8% 0.224 288.4);
Tailwind
colors: {
  custom: {
    50: '#a37dee',
    500: '#7047e5',
    950: '#000000',
  },
}
SCSS
$custom: #7047e5;
$custom-light: #a37dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7047e5",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 255.57,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.22443,
    "h": 288.4
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#7047E5
secondary
#D3E3A5
accent
#F236C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7047E5

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

Preview Lab → · Contrast checker → · Palette generator →

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