#7046D8#7046D8

#7046D8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.210 H 290.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7046D8
RGBrgb(112, 70, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(48.1%, 67.6%, 0%, 15.3%)
CIE-LABlab(42.43, 51.66, -68.77)
CIE-LCHlch(42.43, 86.01, 306.92°)
OKLaboklab(52.63% 0.0738 -0.1971)
OKLCHoklch(52.63% 0.21 290.5)
XYZxyz(21.2634, 12.7821, 66.2993)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046D8 #AED846
analogous
#4665D8 #7046D8 #B946D8
triadic
#7046D8 #D87046 #46D870
tetradic
#7046D8 #D84665 #AED846 #46D8B9
square
#7046D8 #D84665 #AED846 #46D8B9
split-complementary
#7046D8 #D8B946 #65D846
monochromatic
#3B1C87 #5127BA #7046D8 #9779E3 #BEABED

Accessibility & contrast

On white

5.90
#7046D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7046D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046D8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046D8#FFFFFF#000000##FFFFFF
##7046D81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#4E6B89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7046d8;
/* rgb */ color: rgb(112, 70, 216);
/* oklch */ color: oklch(52.6% 0.210 290.5);
Tailwind
colors: {
  custom: {
    50: '#a27ce5',
    500: '#7046d8',
    950: '#000000',
  },
}
SCSS
$custom: #7046d8;
$custom-light: #a27ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#7046d8",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 257.26,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.21049,
    "h": 290.5
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#7046D8
secondary
#CADB9F
accent
#E840B8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046D8

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

Preview Lab → · Contrast checker → · Palette generator →

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