#7147B8#7147B8

#7147B8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.171 H 297.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7147B8
RGBrgb(113, 71, 184)
HSLhsl(262, 44%, 50%)
HSVhsv(262, 61%, 72%)
CMYKcmyk(38.6%, 61.4%, 0%, 27.8%)
CIE-LABlab(40.37, 42.61, -53.55)
CIE-LCHlch(40.37, 68.43, 308.51°)
OKLaboklab(50.42% 0.0775 -0.1524)
OKLCHoklch(50.42% 0.171 297)
XYZxyz(17.7128, 11.4776, 46.6203)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147B8 #8EB847
analogous
#4755B8 #7147B8 #AA47B8
triadic
#7147B8 #B87147 #47B871
tetradic
#7147B8 #B84755 #8EB847 #47B8AA
square
#7147B8 #B84755 #8EB847 #47B8AA
split-complementary
#7147B8 #B8AA47 #55B847
monochromatic
#3B2560 #56368C #7147B8 #9373C9 #B59FDA

Accessibility & contrast

On white

6.37
#7147B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7147B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147B8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147B8#FFFFFF#000000##FFFFFF
##7147B81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#115EB6
Tritanopia (blue-blind)
#606079
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7147b8;
/* rgb */ color: rgb(113, 71, 184);
/* oklch */ color: oklch(50.4% 0.171 297.0);
Tailwind
colors: {
  custom: {
    50: '#9f7cce',
    500: '#7147b8',
    950: '#000000',
  },
}
SCSS
$custom: #7147b8;
$custom-light: #9f7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7147b8",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 262.301,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.17092,
    "h": 297
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#7147B8
secondary
#B4C794
accent
#D454A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7147B8

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

Preview Lab → · Contrast checker → · Palette generator →

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