#7147BE#7147BE

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

Color values

HEX#7147BE
RGBrgb(113, 71, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(40.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(40.79, 44.22, -56.39)
CIE-LCHlch(40.79, 71.66, 308.10°)
OKLaboklab(50.86% 0.0771 -0.1607)
OKLCHoklch(50.86% 0.178 295.6)
XYZxyz(18.3551, 11.7345, 50.0031)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BE #94BE47
analogous
#4758BE #7147BE #AC47BE
triadic
#7147BE #BE7147 #47BE71
tetradic
#7147BE #BE4758 #94BE47 #47BEAC
square
#7147BE #BE4758 #94BE47 #47BEAC
split-complementary
#7147BE #BEAC47 #58BE47
monochromatic
#3C2466 #563494 #7147BE #9474CE #B7A1DE

Accessibility & contrast

On white

6.27
#7147BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7147BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BE#FFFFFF#000000##FFFFFF
##7147BE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7147be;
/* rgb */ color: rgb(113, 71, 190);
/* oklch */ color: oklch(50.9% 0.178 295.6);
Tailwind
colors: {
  custom: {
    50: '#9f7cd2',
    500: '#7147be',
    950: '#000000',
  },
}
SCSS
$custom: #7147be;
$custom-light: #9f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7147be",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 261.176,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.17825,
    "h": 295.6
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#7147BE
secondary
#B8CB96
accent
#D750A8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7147BE

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

Preview Lab → · Contrast checker → · Palette generator →

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