#7147B3#7147B3

#7147B3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.165 H 298.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7147B3
RGBrgb(113, 71, 179)
HSLhsl(263, 43%, 49%)
HSVhsv(263, 60%, 70%)
CMYKcmyk(36.9%, 60.3%, 0%, 29.8%)
CIE-LABlab(40.03, 41.28, -51.15)
CIE-LCHlch(40.03, 65.73, 308.90°)
OKLaboklab(50.06% 0.0777 -0.1453)
OKLCHoklch(50.06% 0.165 298.1)
XYZxyz(17.1979, 11.2716, 43.9087)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147B3 #89B347
analogous
#4753B3 #7147B3 #A747B3
triadic
#7147B3 #B37147 #47B371
tetradic
#7147B3 #B34753 #89B347 #47B3A7
square
#7147B3 #B34753 #89B347 #47B3A7
split-complementary
#7147B3 #B3A747 #53B347
monochromatic
#3A245B #553687 #7147B3 #9271C7 #B49CD8

Accessibility & contrast

On white

6.45
#7147B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7147B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147B3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147B3#FFFFFF#000000##FFFFFF
##7147B31.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#1D5DB1
Tritanopia (blue-blind)
#625E76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7147b3;
/* rgb */ color: rgb(113, 71, 179);
/* oklch */ color: oklch(50.1% 0.165 298.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cca',
    500: '#7147b3',
    950: '#000000',
  },
}
SCSS
$custom: #7147b3;
$custom-light: #9e7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7147b3",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 263.333,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.16477,
    "h": 298.1
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#7147B3
secondary
#B1C491
accent
#D355A2
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7147B3

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

Preview Lab → · Contrast checker → · Palette generator →

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