#7046D2#7046D2

#7046D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.1% C 0.203 H 291.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7046D2
RGBrgb(112, 70, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 67%, 82%)
CMYKcmyk(46.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(41.97, 50.01, -66.09)
CIE-LCHlch(41.97, 82.88, 307.12°)
OKLaboklab(52.14% 0.0746 -0.1893)
OKLCHoklch(52.14% 0.203 291.5)
XYZxyz(20.5018, 12.4775, 62.2884)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046D2 #A8D246
analogous
#4662D2 #7046D2 #B646D2
triadic
#7046D2 #D27046 #46D270
tetradic
#7046D2 #D24662 #A8D246 #46D2B6
square
#7046D2 #D24662 #A8D246 #46D2B6
split-complementary
#7046D2 #D2B646 #62D246
monochromatic
#3C1F7F #532BB0 #7046D2 #9677DE #BCA8EA

Accessibility & contrast

On white

6.01
#7046D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7046D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046D2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046D2#FFFFFF#000000##FFFFFF
##7046D21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#526886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7046d2;
/* rgb */ color: rgb(112, 70, 210);
/* oklch */ color: oklch(52.1% 0.203 291.5);
Tailwind
colors: {
  custom: {
    50: '#a17ce1',
    500: '#7046d2',
    950: '#000000',
  },
}
SCSS
$custom: #7046d2;
$custom-light: #a17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7046d2",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 258,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.20345,
    "h": 291.5
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#7046D2
secondary
#C6D79C
accent
#E444B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7046D2

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

Preview Lab → · Contrast checker → · Palette generator →

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