#7046E5#7046E5

#7046E5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.226 H 288.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7046E5
RGBrgb(112, 70, 229)
HSLhsl(256, 75%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(51.1%, 69.4%, 0%, 10.2%)
CIE-LABlab(43.48, 55.25, -74.47)
CIE-LCHlch(43.48, 92.73, 306.57°)
OKLaboklab(53.7% 0.0716 -0.2139)
OKLCHoklch(53.7% 0.226 288.5)
XYZxyz(23.0110, 13.4811, 75.5032)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046E5 #BBE546
analogous
#466BE5 #7046E5 #BF46E5
triadic
#7046E5 #E57046 #46E570
tetradic
#7046E5 #E5466B #BBE546 #46E5BF
square
#7046E5 #E5466B #BBE546 #46E5BF
split-complementary
#7046E5 #E5BF46 #6BE546
monochromatic
#39169B #4D1DD0 #7046E5 #997CED #C3B1F4

Accessibility & contrast

On white

5.68
#7046E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7046E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046E5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046E5#FFFFFF#000000##FFFFFF
##7046E51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#446F91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7046e5;
/* rgb */ color: rgb(112, 70, 229);
/* oklch */ color: oklch(53.7% 0.226 288.5);
Tailwind
colors: {
  custom: {
    50: '#a37dee',
    500: '#7046e5',
    950: '#000000',
  },
}
SCSS
$custom: #7046e5;
$custom-light: #a37dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7046e5",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 255.849,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.22555,
    "h": 288.5
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#7046E5
secondary
#D2E3A4
accent
#F236C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7046E5

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

Preview Lab → · Contrast checker → · Palette generator →

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