#7047BE#7047BE

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

Color values

HEX#7047BE
RGBrgb(112, 71, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(41.1%, 62.6%, 0%, 25.5%)
CIE-LABlab(40.68, 44.01, -56.57)
CIE-LCHlch(40.68, 71.67, 307.88°)
OKLaboklab(50.75% 0.0757 -0.1613)
OKLCHoklch(50.75% 0.178 295.2)
XYZxyz(18.2271, 11.6685, 49.9971)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047BE #95BE47
analogous
#4759BE #7047BE #AB47BE
triadic
#7047BE #BE7047 #47BE70
tetradic
#7047BE #BE4759 #95BE47 #47BEAB
square
#7047BE #BE4759 #95BE47 #47BEAB
split-complementary
#7047BE #BEAB47 #59BE47
monochromatic
#3B2466 #553494 #7047BE #9374CE #B6A1DE

Accessibility & contrast

On white

6.30
#7047BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7047BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047BE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047BE#FFFFFF#000000##FFFFFF
##7047BE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#5C627C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7047be;
/* rgb */ color: rgb(112, 71, 190);
/* oklch */ color: oklch(50.8% 0.178 295.2);
Tailwind
colors: {
  custom: {
    50: '#9f7cd2',
    500: '#7047be',
    950: '#000000',
  },
}
SCSS
$custom: #7047be;
$custom-light: #9f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7047be",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 260.672,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.17816,
    "h": 295.2
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7047BE

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

Preview Lab → · Contrast checker → · Palette generator →

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