#7046D9#7046D9

#7046D9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.212 H 290.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7046D9
RGBrgb(112, 70, 217)
HSLhsl(257, 66%, 56%)
HSVhsv(257, 68%, 85%)
CMYKcmyk(48.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(42.51, 51.94, -69.21)
CIE-LCHlch(42.51, 86.53, 306.88°)
OKLaboklab(52.71% 0.0736 -0.1984)
OKLCHoklch(52.71% 0.212 290.4)
XYZxyz(21.3931, 12.8340, 66.9822)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046D9 #AFD946
analogous
#4666D9 #7046D9 #BA46D9
triadic
#7046D9 #D97046 #46D970
tetradic
#7046D9 #D94666 #AFD946 #46D9BA
square
#7046D9 #D94666 #AFD946 #46D9BA
split-complementary
#7046D9 #D9BA46 #66D946
monochromatic
#3B1C89 #5126BB #7046D9 #9779E3 #BEACEE

Accessibility & contrast

On white

5.89
#7046D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7046D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046D9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046D9#FFFFFF#000000##FFFFFF
##7046D91.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#4D6B8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7046d9;
/* rgb */ color: rgb(112, 70, 217);
/* oklch */ color: oklch(52.7% 0.212 290.4);
Tailwind
colors: {
  custom: {
    50: '#a27ce6',
    500: '#7046d9',
    950: '#000000',
  },
}
SCSS
$custom: #7046d9;
$custom-light: #a27ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7046d9",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 257.143,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.21166,
    "h": 290.4
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#7046D9
secondary
#CADC9F
accent
#E93FB8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046D9

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

Preview Lab → · Contrast checker → · Palette generator →

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