#7046CD#7046CD

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

Color values

HEX#7046CD
RGBrgb(112, 70, 205)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.4%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.58, 48.64, -63.83)
CIE-LCHlch(41.58, 80.25, 307.31°)
OKLaboklab(51.75% 0.0753 -0.1826)
OKLCHoklch(51.75% 0.198 292.4)
XYZxyz(19.8886, 12.2322, 59.0589)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CD #A3CD46
analogous
#4660CD #7046CD #B446CD
triadic
#7046CD #CD7046 #46CD70
tetradic
#7046CD #CD4660 #A3CD46 #46CDB4
square
#7046CD #CD4660 #A3CD46 #46CDB4
split-complementary
#7046CD #CDB446 #60CD46
monochromatic
#3C2078 #542DA8 #7046CD #9576DA #BAA6E7

Accessibility & contrast

On white

6.09
#7046CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7046CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CD#FFFFFF#000000##FFFFFF
##7046CD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#546783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046cd;
/* rgb */ color: rgb(112, 70, 205);
/* oklch */ color: oklch(51.7% 0.198 292.4);
Tailwind
colors: {
  custom: {
    50: '#a07cdd',
    500: '#7046cd',
    950: '#000000',
  },
}
SCSS
$custom: #7046cd;
$custom-light: #a07cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7046cd",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 258.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.19753,
    "h": 292.4
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#7046CD
secondary
#C2D49B
accent
#E147B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7046CD

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

Preview Lab → · Contrast checker → · Palette generator →

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