#7047CD#7047CD

#7047CD is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.196 H 292.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7047CD
RGBrgb(112, 71, 205)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(45.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.78, 48.10, -63.51)
CIE-LCHlch(41.78, 79.67, 307.14°)
OKLaboklab(51.89% 0.0743 -0.1817)
OKLCHoklch(51.89% 0.196 292.2)
XYZxyz(19.9517, 12.3584, 59.0799)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047CD #A4CD47
analogous
#4761CD #7047CD #B347CD
triadic
#7047CD #CD7047 #47CD70
tetradic
#7047CD #CD4761 #A4CD47 #47CDB3
square
#7047CD #CD4761 #A4CD47 #47CDB3
split-complementary
#7047CD #CDB347 #61CD47
monochromatic
#3C2179 #542EA9 #7047CD #9577DA #BBA7E7

Accessibility & contrast

On white

6.05
#7047CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7047CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047CD#FFFFFF#000000##FFFFFF
##7047CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#546784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7047cd;
/* rgb */ color: rgb(112, 71, 205);
/* oklch */ color: oklch(51.9% 0.196 292.2);
Tailwind
colors: {
  custom: {
    50: '#a07ddd',
    500: '#7047cd',
    950: '#000000',
  },
}
SCSS
$custom: #7047cd;
$custom-light: #a07ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7047cd",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 258.358,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.19627,
    "h": 292.2
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#7047CD
secondary
#C3D49B
accent
#E147B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7047CD

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

Preview Lab → · Contrast checker → · Palette generator →

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