#7147BD#7147BD

#7147BD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.177 H 295.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7147BD
RGBrgb(113, 71, 189)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 62%, 74%)
CMYKcmyk(40.2%, 62.4%, 0%, 25.9%)
CIE-LABlab(40.72, 43.95, -55.92)
CIE-LCHlch(40.72, 71.12, 308.17°)
OKLaboklab(50.78% 0.0772 -0.1593)
OKLCHoklch(50.78% 0.177 295.8)
XYZxyz(18.2462, 11.6909, 49.4295)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BD #93BD47
analogous
#4758BD #7147BD #AC47BD
triadic
#7147BD #BD7147 #47BD71
tetradic
#7147BD #BD4758 #93BD47 #47BDAC
square
#7147BD #BD4758 #93BD47 #47BDAC
split-complementary
#7147BD #BDAC47 #58BD47
monochromatic
#3B2465 #563492 #7147BD #9474CD #B7A1DD

Accessibility & contrast

On white

6.29
#7147BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7147BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BD#FFFFFF#000000##FFFFFF
##7147BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#5E617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7147bd;
/* rgb */ color: rgb(113, 71, 189);
/* oklch */ color: oklch(50.8% 0.177 295.8);
Tailwind
colors: {
  custom: {
    50: '#9f7cd2',
    500: '#7147bd',
    950: '#000000',
  },
}
SCSS
$custom: #7147bd;
$custom-light: #9f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7147bd",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 261.356,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.17703,
    "h": 295.8
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#7147BD
secondary
#B7CA96
accent
#D751A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7147BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7147BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva