#7046CE#7046CE

#7046CE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.199 H 292.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7046CE
RGBrgb(112, 70, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(45.6%, 66%, 0%, 19.2%)
CIE-LABlab(41.66, 48.91, -64.28)
CIE-LCHlch(41.66, 80.77, 307.27°)
OKLaboklab(51.83% 0.0752 -0.1839)
OKLCHoklch(51.83% 0.199 292.2)
XYZxyz(20.0097, 12.2806, 59.6967)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CE #A4CE46
analogous
#4660CE #7046CE #B446CE
triadic
#7046CE #CE7046 #46CE70
tetradic
#7046CE #CE4660 #A4CE46 #46CEB4
square
#7046CE #CE4660 #A4CE46 #46CEB4
split-complementary
#7046CE #CEB446 #60CE46
monochromatic
#3C2079 #542DAA #7046CE #9576DB #BBA7E8

Accessibility & contrast

On white

6.08
#7046CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7046CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CE#FFFFFF#000000##FFFFFF
##7046CE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#546784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046ce;
/* rgb */ color: rgb(112, 70, 206);
/* oklch */ color: oklch(51.8% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07cde',
    500: '#7046ce',
    950: '#000000',
  },
}
SCSS
$custom: #7046ce;
$custom-light: #a07cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7046ce",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 258.529,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.19872,
    "h": 292.2
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#7046CE
secondary
#C3D59B
accent
#E146B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7046CE

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

Preview Lab → · Contrast checker → · Palette generator →

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