#9147CC#9147CC

#9147CC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.200 H 306.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9147CC
RGBrgb(145, 71, 204)
HSLhsl(273, 57%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(28.9%, 65.2%, 0%, 20%)
CIE-LABlab(45.48, 54.63, -56.76)
CIE-LCHlch(45.48, 78.78, 313.90°)
OKLaboklab(55.38% 0.119 -0.1607)
OKLCHoklch(55.38% 0.2 306.5)
XYZxyz(24.8270, 14.8861, 58.6804)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147CC #82CC47
analogous
#4F47CC #9147CC #CC47C5
triadic
#9147CC #CC9147 #47CC91
tetradic
#9147CC #CC4F47 #82CC47 #47C5CC
square
#9147CC #CC4F47 #82CC47 #47C5CC
split-complementary
#9147CC #C5CC47 #47CC4F
monochromatic
#512177 #722EA7 #9147CC #AE77D9 #CAA7E7

Accessibility & contrast

On white

5.28
#9147CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9147CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147CC#FFFFFF#000000##FFFFFF
##9147CC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#876383
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9147cc;
/* rgb */ color: rgb(145, 71, 204);
/* oklch */ color: oklch(55.4% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9147cc',
    950: '#000000',
  },
}
SCSS
$custom: #9147cc;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9147cc",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 273.383,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5538,
    "c": 0.2,
    "h": 306.5
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#9147CC
secondary
#B4D49B
accent
#E0488B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9147CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9147CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva