#7046DE#7046DE

#7046DE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.217 H 289.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7046DE
RGBrgb(112, 70, 222)
HSLhsl(257, 70%, 57%)
HSVhsv(257, 68%, 87%)
CMYKcmyk(49.5%, 68.5%, 0%, 12.9%)
CIE-LABlab(42.91, 53.32, -71.42)
CIE-LCHlch(42.91, 89.13, 306.74°)
OKLaboklab(53.12% 0.0728 -0.2049)
OKLCHoklch(53.12% 0.217 289.6)
XYZxyz(22.0533, 13.0981, 70.4593)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046DE #B4DE46
analogous
#4668DE #7046DE #BC46DE
triadic
#7046DE #DE7046 #46DE70
tetradic
#7046DE #DE4668 #B4DE46 #46DEBC
square
#7046DE #DE4668 #B4DE46 #46DEBC
split-complementary
#7046DE #DEBC46 #68DE46
monochromatic
#3A1A90 #4F23C4 #7046DE #987AE7 #C0AEF1

Accessibility & contrast

On white

5.80
#7046DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7046DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046DE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046DE#FFFFFF#000000##FFFFFF
##7046DE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#4A6D8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7046de;
/* rgb */ color: rgb(112, 70, 222);
/* oklch */ color: oklch(53.1% 0.217 289.6);
Tailwind
colors: {
  custom: {
    50: '#a27de9',
    500: '#7046de',
    950: '#000000',
  },
}
SCSS
$custom: #7046de;
$custom-light: #a27de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7046de",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 256.579,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.21748,
    "h": 289.6
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#7046DE
secondary
#CEDFA1
accent
#ED3BBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046DE

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

Preview Lab → · Contrast checker → · Palette generator →

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