#7046CC#7046CC

#7046CC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.196 H 292.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7046CC
RGBrgb(112, 70, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.1%, 65.7%, 0%, 20%)
CIE-LABlab(41.51, 48.37, -63.37)
CIE-LCHlch(41.51, 79.72, 307.35°)
OKLaboklab(51.67% 0.0754 -0.1813)
OKLCHoklch(51.67% 0.196 292.6)
XYZxyz(19.7683, 12.1841, 58.4252)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CC #A2CC46
analogous
#465FCC #7046CC #B346CC
triadic
#7046CC #CC7046 #46CC70
tetradic
#7046CC #CC465F #A2CC46 #46CCB3
square
#7046CC #CC465F #A2CC46 #46CCB3
split-complementary
#7046CC #CCB346 #5FCC46
monochromatic
#3C2177 #542EA7 #7046CC #9576D9 #BAA6E6

Accessibility & contrast

On white

6.11
#7046CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7046CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CC#FFFFFF#000000##FFFFFF
##7046CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#556683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046cc;
/* rgb */ color: rgb(112, 70, 204);
/* oklch */ color: oklch(51.7% 0.196 292.6);
Tailwind
colors: {
  custom: {
    50: '#a07cdc',
    500: '#7046cc',
    950: '#000000',
  },
}
SCSS
$custom: #7046cc;
$custom-light: #a07cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7046cc",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 258.806,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.19634,
    "h": 292.6
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#7046CC
secondary
#C2D49A
accent
#E048B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7046CC

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

Preview Lab → · Contrast checker → · Palette generator →

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