#9146D7#9146D7

#9146D7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.213 H 304.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9146D7
RGBrgb(145, 70, 215)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.6%, 67.4%, 0%, 15.7%)
CIE-LABlab(46.05, 57.65, -62.15)
CIE-LCHlch(46.05, 84.78, 312.85°)
OKLaboklab(56.03% 0.119 -0.1766)
OKLCHoklch(56.03% 0.213 304)
XYZxyz(26.1302, 15.3064, 65.8546)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146D7 #8CD746
analogous
#4846D7 #9146D7 #D746D5
triadic
#9146D7 #D79146 #46D791
tetradic
#9146D7 #D74846 #8CD746 #46D5D7
square
#9146D7 #D74846 #8CD746 #46D5D7
split-complementary
#9146D7 #D5D746 #46D748
monochromatic
#531D86 #7228B8 #9146D7 #AF78E2 #CDABED

Accessibility & contrast

On white

5.17
#9146D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9146D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146D7#FFFFFF#000000##FFFFFF
##9146D71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#066DD4
Tritanopia (blue-blind)
#846789
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9146d7;
/* rgb */ color: rgb(145, 70, 215);
/* oklch */ color: oklch(56.0% 0.213 304.0);
Tailwind
colors: {
  custom: {
    50: '#b67fe4',
    500: '#9146d7',
    950: '#000000',
  },
}
SCSS
$custom: #9146d7;
$custom-light: #b67fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9146d7",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 271.034,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.21292,
    "h": 304
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#9146D7
secondary
#BBDA9E
accent
#E74091
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9146D7

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

Preview Lab → · Contrast checker → · Palette generator →

#9146D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva