#7047E1#7047E1

#7047E1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.220 H 289.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7047E1
RGBrgb(112, 71, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(50.2%, 68.4%, 0%, 11.8%)
CIE-LABlab(43.34, 53.63, -72.43)
CIE-LCHlch(43.34, 90.12, 306.52°)
OKLaboklab(53.5% 0.0714 -0.2079)
OKLCHoklch(53.5% 0.22 289)
XYZxyz(22.5220, 13.3865, 72.6167)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047E1 #B8E147
analogous
#476BE1 #7047E1 #BD47E1
triadic
#7047E1 #E17047 #47E170
tetradic
#7047E1 #E1476B #B8E147 #47E1BD
square
#7047E1 #E1476B #B8E147 #47E1BD
split-complementary
#7047E1 #E1BD47 #6BE147
monochromatic
#3A1895 #4E21CA #7047E1 #997CEA #C2B0F2

Accessibility & contrast

On white

5.71
#7047E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7047E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047E1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047E1#FFFFFF#000000##FFFFFF
##7047E11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#486E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7047e1;
/* rgb */ color: rgb(112, 71, 225);
/* oklch */ color: oklch(53.5% 0.220 289.0);
Tailwind
colors: {
  custom: {
    50: '#a37deb',
    500: '#7047e1',
    950: '#000000',
  },
}
SCSS
$custom: #7047e1;
$custom-light: #a37deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7047e1",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 255.974,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.21981,
    "h": 289
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#7047E1
secondary
#D0E1A3
accent
#EF39BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7047E1

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

Preview Lab → · Contrast checker → · Palette generator →

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