#7147BF#7147BF

#7147BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.179 H 295.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7147BF
RGBrgb(113, 71, 191)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(40.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(40.86, 44.49, -56.86)
CIE-LCHlch(40.86, 72.19, 308.04°)
OKLaboklab(50.93% 0.077 -0.1621)
OKLCHoklch(50.93% 0.179 295.4)
XYZxyz(18.4648, 11.7784, 50.5807)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BF #95BF47
analogous
#4759BF #7147BF #AD47BF
triadic
#7147BF #BF7147 #47BF71
tetradic
#7147BF #BF4759 #95BF47 #47BFAD
square
#7147BF #BF4759 #95BF47 #47BFAD
split-complementary
#7147BF #BFAD47 #59BF47
monochromatic
#3C2468 #563495 #7147BF #9474CF #B7A2DF

Accessibility & contrast

On white

6.26
#7147BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7147BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BF#FFFFFF#000000##FFFFFF
##7147BF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7147bf;
/* rgb */ color: rgb(113, 71, 191);
/* oklch */ color: oklch(50.9% 0.179 295.4);
Tailwind
colors: {
  custom: {
    50: '#9f7cd3',
    500: '#7147bf',
    950: '#000000',
  },
}
SCSS
$custom: #7147bf;
$custom-light: #9f7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7147bf",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 261,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.17946,
    "h": 295.4
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7147BF

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

Preview Lab → · Contrast checker → · Palette generator →

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