#9147CB#9147CB

#9147CB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.3% C 0.199 H 306.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9147CB
RGBrgb(145, 71, 203)
HSLhsl(274, 56%, 54%)
HSVhsv(274, 65%, 80%)
CMYKcmyk(28.6%, 65%, 0%, 20.4%)
CIE-LABlab(45.41, 54.40, -56.29)
CIE-LCHlch(45.41, 78.28, 314.02°)
OKLaboklab(55.31% 0.1191 -0.1594)
OKLCHoklch(55.31% 0.199 306.8)
XYZxyz(24.7075, 14.8383, 58.0508)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147CB #81CB47
analogous
#4F47CB #9147CB #CB47C3
triadic
#9147CB #CB9147 #47CB91
tetradic
#9147CB #CB4F47 #81CB47 #47C3CB
square
#9147CB #CB4F47 #81CB47 #47C3CB
split-complementary
#9147CB #C3CB47 #47CB4F
monochromatic
#512176 #722FA6 #9147CB #AE77D8 #CAA6E6

Accessibility & contrast

On white

5.29
#9147CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9147CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147CB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147CB#FFFFFF#000000##FFFFFF
##9147CB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#876383
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9147cb;
/* rgb */ color: rgb(145, 71, 203);
/* oklch */ color: oklch(55.3% 0.199 306.8);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9147cb',
    950: '#000000',
  },
}
SCSS
$custom: #9147cb;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9147cb",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 273.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.19894,
    "h": 306.8
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#9147CB
secondary
#B3D39B
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9147CB

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

Preview Lab → · Contrast checker → · Palette generator →

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