#7046E8#7046E8

#7046E8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.229 H 288.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7046E8
RGBrgb(112, 70, 232)
HSLhsl(256, 78%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.7%, 69.8%, 0%, 9%)
CIE-LABlab(43.73, 56.08, -75.77)
CIE-LCHlch(43.73, 94.26, 306.51°)
OKLaboklab(53.95% 0.071 -0.2177)
OKLCHoklch(53.95% 0.229 288.1)
XYZxyz(23.4335, 13.6501, 77.7283)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046E8 #BEE846
analogous
#466DE8 #7046E8 #C146E8
triadic
#7046E8 #E87046 #46E870
tetradic
#7046E8 #E8466D #BEE846 #46E8C1
square
#7046E8 #E8466D #BEE846 #46E8C1
split-complementary
#7046E8 #E8C146 #6DE846
monochromatic
#3814A0 #4B1BD6 #7046E8 #9A7CEF #C4B3F6

Accessibility & contrast

On white

5.63
#7046E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7046E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046E8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046E8#FFFFFF#000000##FFFFFF
##7046E81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#427092
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7046e8;
/* rgb */ color: rgb(112, 70, 232);
/* oklch */ color: oklch(53.9% 0.229 288.1);
Tailwind
colors: {
  custom: {
    50: '#a47df0',
    500: '#7046e8',
    950: '#000000',
  },
}
SCSS
$custom: #7046e8;
$custom-light: #a47df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7046e8",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 255.556,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.22898,
    "h": 288.1
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#7046E8
secondary
#D4E5A5
accent
#F433C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7046E8

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

Preview Lab → · Contrast checker → · Palette generator →

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