#7047E2#7047E2

#7047E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.221 H 288.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7047E2
RGBrgb(112, 71, 226)
HSLhsl(256, 73%, 58%)
HSVhsv(256, 69%, 89%)
CMYKcmyk(50.4%, 68.6%, 0%, 11.4%)
CIE-LABlab(43.42, 53.91, -72.87)
CIE-LCHlch(43.42, 90.64, 306.49°)
OKLaboklab(53.58% 0.0712 -0.2092)
OKLCHoklch(53.58% 0.221 288.8)
XYZxyz(22.6588, 13.4412, 73.3373)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047E2 #B9E247
analogous
#476BE2 #7047E2 #BD47E2
triadic
#7047E2 #E27047 #47E270
tetradic
#7047E2 #E2476B #B9E247 #47E2BD
square
#7047E2 #E2476B #B9E247 #47E2BD
split-complementary
#7047E2 #E2BD47 #6BE247
monochromatic
#391897 #4D20CC #7047E2 #997CEA #C2B1F3

Accessibility & contrast

On white

5.69
#7047E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7047E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047E2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047E2#FFFFFF#000000##FFFFFF
##7047E21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#476F8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7047e2;
/* rgb */ color: rgb(112, 71, 226);
/* oklch */ color: oklch(53.6% 0.221 288.8);
Tailwind
colors: {
  custom: {
    50: '#a37dec',
    500: '#7047e2',
    950: '#000000',
  },
}
SCSS
$custom: #7047e2;
$custom-light: #a37dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7047e2",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 255.871,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.22097,
    "h": 288.8
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#7047E2
secondary
#D1E1A4
accent
#EF38BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7047E2

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

Preview Lab → · Contrast checker → · Palette generator →

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