#7046D7#7046D7

#7046D7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.209 H 290.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7046D7
RGBrgb(112, 70, 215)
HSLhsl(257, 64%, 56%)
HSVhsv(257, 67%, 84%)
CMYKcmyk(47.9%, 67.4%, 0%, 15.7%)
CIE-LABlab(42.35, 51.39, -68.33)
CIE-LCHlch(42.35, 85.49, 306.95°)
OKLaboklab(52.54% 0.0739 -0.1958)
OKLCHoklch(52.54% 0.209 290.7)
XYZxyz(21.1345, 12.7305, 65.6205)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046D7 #ADD746
analogous
#4664D7 #7046D7 #B846D7
triadic
#7046D7 #D77046 #46D770
tetradic
#7046D7 #D74664 #ADD746 #46D7B8
square
#7046D7 #D74664 #ADD746 #46D7B8
split-complementary
#7046D7 #D7B846 #64D746
monochromatic
#3B1D86 #5228B8 #7046D7 #9778E2 #BEABED

Accessibility & contrast

On white

5.92
#7046D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7046D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046D7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046D7#FFFFFF#000000##FFFFFF
##7046D71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#4F6A89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7046d7;
/* rgb */ color: rgb(112, 70, 215);
/* oklch */ color: oklch(52.5% 0.209 290.7);
Tailwind
colors: {
  custom: {
    50: '#a17ce4',
    500: '#7046d7',
    950: '#000000',
  },
}
SCSS
$custom: #7046d7;
$custom-light: #a17ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#7046d7",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 257.379,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.20932,
    "h": 290.7
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#7046D7
secondary
#C9DA9E
accent
#E740B7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046D7

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

Preview Lab → · Contrast checker → · Palette generator →

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