#9147D7#9147D7

#9147D7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.212 H 303.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9147D7
RGBrgb(145, 71, 215)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.6%, 67%, 0%, 15.7%)
CIE-LABlab(46.22, 57.18, -61.88)
CIE-LCHlch(46.22, 84.25, 312.74°)
OKLaboklab(56.15% 0.1179 -0.1758)
OKLCHoklch(56.15% 0.212 303.8)
XYZxyz(26.1932, 15.4326, 65.8757)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147D7 #8DD747
analogous
#4947D7 #9147D7 #D747D5
triadic
#9147D7 #D79147 #47D791
tetradic
#9147D7 #D74947 #8DD747 #47D5D7
square
#9147D7 #D74947 #8DD747 #47D5D7
split-complementary
#9147D7 #D5D747 #47D749
monochromatic
#531D86 #7228B9 #9147D7 #AF79E2 #CDACED

Accessibility & contrast

On white

5.14
#9147D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9147D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147D7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147D7#FFFFFF#000000##FFFFFF
##9147D71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0B6DD4
Tritanopia (blue-blind)
#846789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9147d7;
/* rgb */ color: rgb(145, 71, 215);
/* oklch */ color: oklch(56.1% 0.212 303.8);
Tailwind
colors: {
  custom: {
    50: '#b67fe4',
    500: '#9147d7',
    950: '#000000',
  },
}
SCSS
$custom: #9147d7;
$custom-light: #b67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9147d7",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 270.833,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.21167,
    "h": 303.8
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#9147D7
secondary
#BCDB9F
accent
#E74192
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9147D7

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

Preview Lab → · Contrast checker → · Palette generator →

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