#7047BF#7047BF

#7047BF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.179 H 294.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7047BF
RGBrgb(112, 71, 191)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(41.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(40.76, 44.28, -57.04)
CIE-LCHlch(40.76, 72.20, 307.82°)
OKLaboklab(50.83% 0.0757 -0.1626)
OKLCHoklch(50.83% 0.179 294.9)
XYZxyz(18.3368, 11.7124, 50.5747)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047BF #96BF47
analogous
#475ABF #7047BF #AC47BF
triadic
#7047BF #BF7047 #47BF70
tetradic
#7047BF #BF475A #96BF47 #47BFAC
square
#7047BF #BF475A #96BF47 #47BFAC
split-complementary
#7047BF #BFAC47 #5ABF47
monochromatic
#3B2468 #553495 #7047BF #9374CF #B7A2DF

Accessibility & contrast

On white

6.28
#7047BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7047BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047BF#FFFFFF#000000##FFFFFF
##7047BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#5B627C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7047bf;
/* rgb */ color: rgb(112, 71, 191);
/* oklch */ color: oklch(50.8% 0.179 294.9);
Tailwind
colors: {
  custom: {
    50: '#9f7cd3',
    500: '#7047bf',
    950: '#000000',
  },
}
SCSS
$custom: #7047bf;
$custom-light: #9f7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7047bf",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 260.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.17938,
    "h": 294.9
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#7047BF
secondary
#B9CB96
accent
#D850A9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7047BF

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

Preview Lab → · Contrast checker → · Palette generator →

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