#9147EB#9147EB

#9147EB is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.233 H 299.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9147EB
RGBrgb(145, 71, 235)
HSLhsl(267, 80%, 60%)
HSVhsv(267, 70%, 92%)
CMYKcmyk(38.3%, 69.8%, 0%, 7.8%)
CIE-LABlab(47.65, 61.93, -70.91)
CIE-LCHlch(47.65, 94.14, 311.13°)
OKLaboklab(57.62% 0.115 -0.2023)
OKLCHoklch(57.62% 0.233 299.6)
XYZxyz(28.9219, 16.5241, 80.2469)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147EB #A1EB47
analogous
#474FEB #9147EB #E347EB
triadic
#9147EB #EB9147 #47EB91
tetradic
#9147EB #EB474F #A1EB47 #47EBE3
square
#9147EB #EB474F #A1EB47 #47EBE3
split-complementary
#9147EB #EBE347 #4FEB47
monochromatic
#5512A6 #7118DD #9147EB #B27EF1 #D3B5F7

Accessibility & contrast

On white

4.88
#9147EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9147EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147EB#FFFFFF#000000##FFFFFF
##9147EB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#7C6F94
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9147eb;
/* rgb */ color: rgb(145, 71, 235);
/* oklch */ color: oklch(57.6% 0.233 299.6);
Tailwind
colors: {
  custom: {
    50: '#b880f2',
    500: '#9147eb',
    950: '#000000',
  },
}
SCSS
$custom: #9147eb;
$custom-light: #b880f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9147eb",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 235
  },
  "hsl": {
    "h": 267.073,
    "s": 80.392,
    "l": 60
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.23273,
    "h": 299.6
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#9147EB
secondary
#CAE6A7
accent
#F7319E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9147EB

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

Preview Lab → · Contrast checker → · Palette generator →

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