#7046D3#7046D3

#7046D3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.205 H 291.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7046D3
RGBrgb(112, 70, 211)
HSLhsl(258, 62%, 55%)
HSVhsv(258, 67%, 83%)
CMYKcmyk(46.9%, 66.8%, 0%, 17.3%)
CIE-LABlab(42.04, 50.29, -66.54)
CIE-LCHlch(42.04, 83.40, 307.08°)
OKLaboklab(52.22% 0.0745 -0.1906)
OKLCHoklch(52.22% 0.205 291.4)
XYZxyz(20.6268, 12.5275, 62.9466)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046D3 #A9D346
analogous
#4663D3 #7046D3 #B646D3
triadic
#7046D3 #D37046 #46D370
tetradic
#7046D3 #D34663 #A9D346 #46D3B6
square
#7046D3 #D34663 #A9D346 #46D3B6
split-complementary
#7046D3 #D3B646 #63D346
monochromatic
#3C1E80 #532AB2 #7046D3 #9677DF #BCA9EB

Accessibility & contrast

On white

5.99
#7046D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7046D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046D3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046D3#FFFFFF#000000##FFFFFF
##7046D31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#516987
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7046d3;
/* rgb */ color: rgb(112, 70, 211);
/* oklch */ color: oklch(52.2% 0.205 291.4);
Tailwind
colors: {
  custom: {
    50: '#a17ce1',
    500: '#7046d3',
    950: '#000000',
  },
}
SCSS
$custom: #7046d3;
$custom-light: #a17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7046d3",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 257.872,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.20463,
    "h": 291.4
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#7046D3
secondary
#C6D89D
accent
#E543B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7046D3

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

Preview Lab → · Contrast checker → · Palette generator →

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