#7047B2#7047B2

#7047B2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.9% C 0.163 H 297.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7047B2
RGBrgb(112, 71, 178)
HSLhsl(263, 43%, 49%)
HSVhsv(263, 60%, 70%)
CMYKcmyk(37.1%, 60.1%, 0%, 30.2%)
CIE-LABlab(39.86, 40.78, -50.85)
CIE-LCHlch(39.86, 65.18, 308.73°)
OKLaboklab(49.89% 0.0764 -0.1445)
OKLCHoklch(49.89% 0.163 297.9)
XYZxyz(16.9692, 11.1653, 43.3719)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7047B2 #89B247
analogous
#4754B2 #7047B2 #A647B2
triadic
#7047B2 #B27047 #47B270
tetradic
#7047B2 #B24754 #89B247 #47B2A6
square
#7047B2 #B24754 #89B247 #47B2A6
split-complementary
#7047B2 #B2A647 #54B247
monochromatic
#39245B #543686 #7047B2 #9170C6 #B39CD7

Accessibility & contrast

On white

6.50
#7047B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7047B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7047B2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7047B2#FFFFFF#000000##FFFFFF
##7047B21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#615E76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7047b2;
/* rgb */ color: rgb(112, 71, 178);
/* oklch */ color: oklch(49.9% 0.163 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d7cca',
    500: '#7047b2',
    950: '#000000',
  },
}
SCSS
$custom: #7047b2;
$custom-light: #9d7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7047b2",
  "rgb": {
    "r": 112,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 262.991,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.1634,
    "h": 297.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#7047B2
secondary
#B0C491
accent
#D355A3
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7047B2

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

Preview Lab → · Contrast checker → · Palette generator →

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