#7046E2#7046E2

#7046E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.222 H 288.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7046E2
RGBrgb(112, 70, 226)
HSLhsl(256, 73%, 58%)
HSVhsv(256, 69%, 89%)
CMYKcmyk(50.4%, 69%, 0%, 11.4%)
CIE-LABlab(43.23, 54.42, -73.17)
CIE-LCHlch(43.23, 91.19, 306.64°)
OKLaboklab(53.45% 0.0721 -0.2101)
OKLCHoklch(53.45% 0.222 288.9)
XYZxyz(22.5957, 13.3150, 73.3162)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046E2 #B8E246
analogous
#466AE2 #7046E2 #BE46E2
triadic
#7046E2 #E27046 #46E270
tetradic
#7046E2 #E2466A #B8E246 #46E2BE
square
#7046E2 #E2466A #B8E246 #46E2BE
split-complementary
#7046E2 #E2BE46 #6AE246
monochromatic
#3A1896 #4E20CB #7046E2 #997BEA #C2B0F3

Accessibility & contrast

On white

5.73
#7046E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7046E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046E2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046E2#FFFFFF#000000##FFFFFF
##7046E21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#476E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7046e2;
/* rgb */ color: rgb(112, 70, 226);
/* oklch */ color: oklch(53.4% 0.222 288.9);
Tailwind
colors: {
  custom: {
    50: '#a37dec',
    500: '#7046e2',
    950: '#000000',
  },
}
SCSS
$custom: #7046e2;
$custom-light: #a37dec;
$custom-dark: #000000;
JSON
{
  "hex": "#7046e2",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 256.154,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.22209,
    "h": 288.9
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#7046E2
secondary
#D0E1A3
accent
#F038BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046E2

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

Preview Lab → · Contrast checker → · Palette generator →

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