#9147E4#9147E4

#9147E4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.225 H 301.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9147E4
RGBrgb(145, 71, 228)
HSLhsl(268, 74%, 59%)
HSVhsv(268, 69%, 89%)
CMYKcmyk(36.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(47.14, 60.26, -67.79)
CIE-LCHlch(47.14, 90.70, 311.63°)
OKLaboklab(57.1% 0.1162 -0.1931)
OKLCHoklch(57.1% 0.225 301)
XYZxyz(27.9305, 16.1275, 75.0252)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147E4 #9AE447
analogous
#474BE4 #9147E4 #DF47E4
triadic
#9147E4 #E49147 #47E491
tetradic
#9147E4 #E4474B #9AE447 #47E4DF
square
#9147E4 #E4474B #9AE447 #47E4DF
split-complementary
#9147E4 #E4DF47 #4BE447
monochromatic
#55179A #721ECF #9147E4 #B17CEC #D1B2F4

Accessibility & contrast

On white

4.97
#9147E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9147E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147E4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147E4#FFFFFF#000000##FFFFFF
##9147E41.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#7F6C90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9147e4;
/* rgb */ color: rgb(145, 71, 228);
/* oklch */ color: oklch(57.1% 0.225 301.0);
Tailwind
colors: {
  custom: {
    50: '#b780ed',
    500: '#9147e4',
    950: '#000000',
  },
}
SCSS
$custom: #9147e4;
$custom-light: #b780ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9147e4",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 268.28,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.22538,
    "h": 301
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#9147E4
secondary
#C5E2A4
accent
#F13799
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9147E4

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

Preview Lab → · Contrast checker → · Palette generator →

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