#9146DC#9146DC

#9146DC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.218 H 302.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9146DC
RGBrgb(145, 70, 220)
HSLhsl(270, 68%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(34.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(46.40, 58.83, -64.44)
CIE-LCHlch(46.40, 87.25, 312.39°)
OKLaboklab(56.39% 0.1183 -0.1833)
OKLCHoklch(56.39% 0.218 302.8)
XYZxyz(26.7825, 15.5673, 69.2901)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146DC #91DC46
analogous
#4646DC #9146DC #DC46DC
triadic
#9146DC #DC9146 #46DC91
tetradic
#9146DC #DC4646 #91DC46 #46DCDC
square
#9146DC #DC4646 #91DC46 #46DCDC
split-complementary
#9146DC #DCDC46 #46DC46
monochromatic
#541B8D #7224C0 #9146DC #B079E6 #CEADEF

Accessibility & contrast

On white

5.11
#9146DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9146DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146DC#FFFFFF#000000##FFFFFF
##9146DC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#82698C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9146dc;
/* rgb */ color: rgb(145, 70, 220);
/* oklch */ color: oklch(56.4% 0.218 302.8);
Tailwind
colors: {
  custom: {
    50: '#b77fe8',
    500: '#9146dc',
    950: '#000000',
  },
}
SCSS
$custom: #9146dc;
$custom-light: #b77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9146dc",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.21818,
    "h": 302.8
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#9146DC
secondary
#BFDDA0
accent
#EB3D94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9146DC

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

Preview Lab → · Contrast checker → · Palette generator →

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