#7147BC#7147BC

#7147BC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.176 H 296.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7147BC
RGBrgb(113, 71, 188)
HSLhsl(262, 47%, 51%)
HSVhsv(262, 62%, 74%)
CMYKcmyk(39.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(40.65, 43.68, -55.44)
CIE-LCHlch(40.65, 70.58, 308.23°)
OKLaboklab(50.71% 0.0772 -0.1579)
OKLCHoklch(50.71% 0.176 296.1)
XYZxyz(18.1380, 11.6477, 48.8598)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BC #92BC47
analogous
#4757BC #7147BC #AB47BC
triadic
#7147BC #BC7147 #47BC71
tetradic
#7147BC #BC4757 #92BC47 #47BCAB
square
#7147BC #BC4757 #92BC47 #47BCAB
split-complementary
#7147BC #BCAB47 #57BC47
monochromatic
#3B2464 #563591 #7147BC #9474CC #B6A1DD

Accessibility & contrast

On white

6.31
#7147BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7147BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BC#FFFFFF#000000##FFFFFF
##7147BC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#5E617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7147bc;
/* rgb */ color: rgb(113, 71, 188);
/* oklch */ color: oklch(50.7% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#9f7cd1',
    500: '#7147bc',
    950: '#000000',
  },
}
SCSS
$custom: #7147bc;
$custom-light: #9f7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7147bc",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 261.538,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.17582,
    "h": 296.1
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#7147BC
secondary
#B7C995
accent
#D652A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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