#7046DC#7046DC

#7046DC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.215 H 289.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7046DC
RGBrgb(112, 70, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 68%, 86%)
CMYKcmyk(49.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(42.75, 52.77, -70.54)
CIE-LCHlch(42.75, 88.09, 306.80°)
OKLaboklab(52.95% 0.0731 -0.2023)
OKLCHoklch(52.95% 0.215 289.9)
XYZxyz(21.7868, 12.9915, 69.0559)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046DC #B2DC46
analogous
#4667DC #7046DC #BB46DC
triadic
#7046DC #DC7046 #46DC70
tetradic
#7046DC #DC4667 #B2DC46 #46DCBB
square
#7046DC #DC4667 #B2DC46 #46DCBB
split-complementary
#7046DC #DCBB46 #67DC46
monochromatic
#3B1B8D #5024C0 #7046DC #9879E6 #C0ADEF

Accessibility & contrast

On white

5.84
#7046DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7046DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046DC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046DC#FFFFFF#000000##FFFFFF
##7046DC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#4B6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7046dc;
/* rgb */ color: rgb(112, 70, 220);
/* oklch */ color: oklch(53.0% 0.215 289.9);
Tailwind
colors: {
  custom: {
    50: '#a27ce8',
    500: '#7046dc',
    950: '#000000',
  },
}
SCSS
$custom: #7046dc;
$custom-light: #a27ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7046dc",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 256.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.21515,
    "h": 289.9
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#7046DC
secondary
#CCDDA0
accent
#EB3DBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046DC

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

Preview Lab → · Contrast checker → · Palette generator →

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