#7046E9#7046E9

#7046E9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.230 H 287.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7046E9
RGBrgb(112, 70, 233)
HSLhsl(255, 79%, 59%)
HSVhsv(255, 70%, 91%)
CMYKcmyk(51.9%, 70%, 0%, 8.6%)
CIE-LABlab(43.81, 56.36, -76.20)
CIE-LCHlch(43.81, 94.77, 306.49°)
OKLaboklab(54.04% 0.0708 -0.2189)
OKLCHoklch(54.04% 0.23 287.9)
XYZxyz(23.5759, 13.7071, 78.4785)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046E9 #BFE946
analogous
#466EE9 #7046E9 #C246E9
triadic
#7046E9 #E97046 #46E970
tetradic
#7046E9 #E9466E #BFE946 #46E9C2
square
#7046E9 #E9466E #BFE946 #46E9C2
split-complementary
#7046E9 #E9C246 #6EE946
monochromatic
#3813A1 #4B1AD8 #7046E9 #9A7DF0 #C5B3F6

Accessibility & contrast

On white

5.61
#7046E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7046E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046E9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046E9#FFFFFF#000000##FFFFFF
##7046E91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#417193
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7046e9;
/* rgb */ color: rgb(112, 70, 233);
/* oklch */ color: oklch(54.0% 0.230 287.9);
Tailwind
colors: {
  custom: {
    50: '#a47df1',
    500: '#7046e9',
    950: '#000000',
  },
}
SCSS
$custom: #7046e9;
$custom-light: #a47df1;
$custom-dark: #000000;
JSON
{
  "hex": "#7046e9",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 255.46,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.23012,
    "h": 287.9
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#7046E9
secondary
#D5E5A6
accent
#F533C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7046E9

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

Preview Lab → · Contrast checker → · Palette generator →

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