#9146D9#9146D9

#9146D9 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.215 H 303.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9146D9
RGBrgb(145, 70, 217)
HSLhsl(271, 66%, 56%)
HSVhsv(271, 68%, 85%)
CMYKcmyk(33.2%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.19, 58.12, -63.07)
CIE-LCHlch(46.19, 85.77, 312.66°)
OKLaboklab(56.17% 0.1187 -0.1793)
OKLCHoklch(56.17% 0.215 303.5)
XYZxyz(26.3887, 15.4099, 67.2164)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146D9 #8ED946
analogous
#4846D9 #9146D9 #D946D8
triadic
#9146D9 #D99146 #46D991
tetradic
#9146D9 #D94846 #8ED946 #46D8D9
square
#9146D9 #D94846 #8ED946 #46D8D9
split-complementary
#9146D9 #D8D946 #46D948
monochromatic
#531C89 #7226BB #9146D9 #AF79E3 #CDACEE

Accessibility & contrast

On white

5.14
#9146D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9146D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146D9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146D9#FFFFFF#000000##FFFFFF
##9146D91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#83688A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9146d9;
/* rgb */ color: rgb(145, 70, 217);
/* oklch */ color: oklch(56.2% 0.215 303.5);
Tailwind
colors: {
  custom: {
    50: '#b67fe6',
    500: '#9146d9',
    950: '#000000',
  },
}
SCSS
$custom: #9146d9;
$custom-light: #b67fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9146d9",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 270.612,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.21503,
    "h": 303.5
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#9146D9
secondary
#BDDC9F
accent
#E93F92
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9146D9

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

Preview Lab → · Contrast checker → · Palette generator →

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