#7147BB#7147BB

#7147BB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.175 H 296.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7147BB
RGBrgb(113, 71, 187)
HSLhsl(262, 46%, 51%)
HSVhsv(262, 62%, 73%)
CMYKcmyk(39.6%, 62%, 0%, 26.7%)
CIE-LABlab(40.58, 43.41, -54.97)
CIE-LCHlch(40.58, 70.05, 308.30°)
OKLaboklab(50.64% 0.0773 -0.1565)
OKLCHoklch(50.64% 0.175 296.3)
XYZxyz(18.0306, 11.6047, 48.2940)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147BB #91BB47
analogous
#4757BB #7147BB #AB47BB
triadic
#7147BB #BB7147 #47BB71
tetradic
#7147BB #BB4757 #91BB47 #47BBAB
square
#7147BB #BB4757 #91BB47 #47BBAB
split-complementary
#7147BB #BBAB47 #57BB47
monochromatic
#3B2563 #563590 #7147BB #9374CC #B6A0DC

Accessibility & contrast

On white

6.32
#7147BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7147BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147BB#FFFFFF#000000##FFFFFF
##7147BB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#5F617A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7147bb;
/* rgb */ color: rgb(113, 71, 187);
/* oklch */ color: oklch(50.6% 0.175 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f7cd0',
    500: '#7147bb',
    950: '#000000',
  },
}
SCSS
$custom: #7147bb;
$custom-light: #9f7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7147bb",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 261.724,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.17459,
    "h": 296.3
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#7147BB
secondary
#B6C995
accent
#D652A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7147BB

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

Preview Lab → · Contrast checker → · Palette generator →

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