#9147D2#9147D2

#9147D2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.206 H 305.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9147D2
RGBrgb(145, 71, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 66%, 82%)
CMYKcmyk(31%, 66.2%, 0%, 17.6%)
CIE-LABlab(45.88, 56.02, -59.57)
CIE-LCHlch(45.88, 81.77, 313.24°)
OKLaboklab(55.8% 0.1185 -0.169)
OKLCHoklch(55.8% 0.206 305)
XYZxyz(25.5606, 15.1795, 62.5436)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147D2 #88D247
analogous
#4B47D2 #9147D2 #D247CE
triadic
#9147D2 #D29147 #47D291
tetradic
#9147D2 #D24B47 #88D247 #47CED2
square
#9147D2 #D24B47 #88D247 #47CED2
split-complementary
#9147D2 #CED247 #47D24B
monochromatic
#521F7F #722BB1 #9147D2 #AE78DE #CCA9EA

Accessibility & contrast

On white

5.20
#9147D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9147D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147D2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147D2#FFFFFF#000000##FFFFFF
##9147D21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#856687
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9147d2;
/* rgb */ color: rgb(145, 71, 210);
/* oklch */ color: oklch(55.8% 0.206 305.0);
Tailwind
colors: {
  custom: {
    50: '#b67fe1',
    500: '#9147d2',
    950: '#000000',
  },
}
SCSS
$custom: #9147d2;
$custom-light: #b67fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9147d2",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 271.942,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.20637,
    "h": 305
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#9147D2
secondary
#B9D89D
accent
#E4448F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9147D2

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

Preview Lab → · Contrast checker → · Palette generator →

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