#9147CA#9147CA

#9147CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.198 H 307.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9147CA
RGBrgb(145, 71, 202)
HSLhsl(274, 55%, 54%)
HSVhsv(274, 65%, 79%)
CMYKcmyk(28.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(45.35, 54.17, -55.82)
CIE-LCHlch(45.35, 77.78, 314.14°)
OKLaboklab(55.24% 0.1192 -0.158)
OKLCHoklch(55.24% 0.198 307)
XYZxyz(24.5887, 14.7908, 57.4252)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147CA #80CA47
analogous
#4F47CA #9147CA #CA47C1
triadic
#9147CA #CA9147 #47CA91
tetradic
#9147CA #CA4F47 #80CA47 #47C1CA
square
#9147CA #CA4F47 #80CA47 #47C1CA
split-complementary
#9147CA #C1CA47 #47CA4F
monochromatic
#512275 #712FA4 #9147CA #AD77D8 #CAA6E5

Accessibility & contrast

On white

5.31
#9147CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9147CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147CA#FFFFFF#000000##FFFFFF
##9147CA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#886382
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9147ca;
/* rgb */ color: rgb(145, 71, 202);
/* oklch */ color: oklch(55.2% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#b57fdb',
    500: '#9147ca',
    950: '#000000',
  },
}
SCSS
$custom: #9147ca;
$custom-light: #b57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9147ca",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 273.893,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.19787,
    "h": 307
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#9147CA
secondary
#B3D29A
accent
#DF498A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9147CA

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

Preview Lab → · Contrast checker → · Palette generator →

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