#7047BC#7047BC

#7047BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.176 H 295.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7047BC
RGBrgb(112, 71, 188)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 62%, 74%)
CMYKcmyk(40.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(40.54, 43.46, -55.62)
CIE-LCHlch(40.54, 70.59, 308.00°)
OKLaboklab(50.61% 0.0759 -0.1585)
OKLCHoklch(50.61% 0.176 295.6)
XYZxyz(18.0101, 11.5817, 48.8538)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047BC #93BC47
analogous
#4758BC #7047BC #AB47BC
triadic
#7047BC #BC7047 #47BC70
tetradic
#7047BC #BC4758 #93BC47 #47BCAB
square
#7047BC #BC4758 #93BC47 #47BCAB
split-complementary
#7047BC #BCAB47 #58BC47
monochromatic
#3B2464 #553591 #7047BC #9374CC #B6A1DD

Accessibility & contrast

On white

6.33
#7047BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7047BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047BC#FFFFFF#000000##FFFFFF
##7047BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#5D617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7047bc;
/* rgb */ color: rgb(112, 71, 188);
/* oklch */ color: oklch(50.6% 0.176 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e7cd1',
    500: '#7047bc',
    950: '#000000',
  },
}
SCSS
$custom: #7047bc;
$custom-light: #9e7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7047bc",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 261.026,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.17572,
    "h": 295.6
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#7047BC
secondary
#B7C995
accent
#D652A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7047BC

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

Preview Lab → · Contrast checker → · Palette generator →

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