#9146D6#9146D6

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

Color values

HEX#9146D6
RGBrgb(145, 70, 214)
HSLhsl(271, 64%, 56%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(32.2%, 67.3%, 0%, 16.1%)
CIE-LABlab(45.98, 57.42, -61.69)
CIE-LCHlch(45.98, 84.28, 312.95°)
OKLaboklab(55.96% 0.1191 -0.1752)
OKLCHoklch(55.96% 0.212 304.2)
XYZxyz(26.0021, 15.2552, 65.1800)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146D6 #8BD646
analogous
#4946D6 #9146D6 #D646D3
triadic
#9146D6 #D69146 #46D691
tetradic
#9146D6 #D64946 #8BD646 #46D3D6
square
#9146D6 #D64946 #8BD646 #46D3D6
split-complementary
#9146D6 #D3D646 #46D649
monochromatic
#531D84 #7228B6 #9146D6 #AF78E1 #CDAAEC

Accessibility & contrast

On white

5.18
#9146D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9146D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146D6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146D6#FFFFFF#000000##FFFFFF
##9146D61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0B6DD3
Tritanopia (blue-blind)
#846688
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9146d6;
/* rgb */ color: rgb(145, 70, 214);
/* oklch */ color: oklch(56.0% 0.212 304.2);
Tailwind
colors: {
  custom: {
    50: '#b67fe3',
    500: '#9146d6',
    950: '#000000',
  },
}
SCSS
$custom: #9146d6;
$custom-light: #b67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9146d6",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 271.25,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.21187,
    "h": 304.2
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9146D6

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

Preview Lab → · Contrast checker → · Palette generator →

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