#9147D5#9147D5

#9147D5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.210 H 304.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9147D5
RGBrgb(145, 71, 213)
HSLhsl(271, 63%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(31.9%, 66.7%, 0%, 16.5%)
CIE-LABlab(46.08, 56.71, -60.96)
CIE-LCHlch(46.08, 83.26, 312.94°)
OKLaboklab(56.01% 0.1181 -0.1731)
OKLCHoklch(56.01% 0.21 304.3)
XYZxyz(25.9378, 15.3304, 64.5305)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147D5 #8BD547
analogous
#4A47D5 #9147D5 #D547D2
triadic
#9147D5 #D59147 #47D591
tetradic
#9147D5 #D54A47 #8BD547 #47D2D5
square
#9147D5 #D54A47 #8BD547 #47D2D5
split-complementary
#9147D5 #D2D547 #47D54A
monochromatic
#531E84 #7229B5 #9147D5 #AF79E0 #CDABEC

Accessibility & contrast

On white

5.16
#9147D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9147D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147D5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147D5#FFFFFF#000000##FFFFFF
##9147D51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#136DD2
Tritanopia (blue-blind)
#846788
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9147d5;
/* rgb */ color: rgb(145, 71, 213);
/* oklch */ color: oklch(56.0% 0.210 304.3);
Tailwind
colors: {
  custom: {
    50: '#b67fe3',
    500: '#9147d5',
    950: '#000000',
  },
}
SCSS
$custom: #9147d5;
$custom-light: #b67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9147d5",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 271.268,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.20954,
    "h": 304.3
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#9147D5
secondary
#BBD99E
accent
#E64290
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9147D5

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

Preview Lab → · Contrast checker → · Palette generator →

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