#9146DD#9146DD

#9146DD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.219 H 302.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9146DD
RGBrgb(145, 70, 221)
HSLhsl(270, 69%, 57%)
HSVhsv(270, 68%, 87%)
CMYKcmyk(34.4%, 68.3%, 0%, 13.3%)
CIE-LABlab(46.47, 59.06, -64.89)
CIE-LCHlch(46.47, 87.75, 312.31°)
OKLaboklab(56.46% 0.1182 -0.1846)
OKLCHoklch(56.46% 0.219 302.6)
XYZxyz(26.9153, 15.6205, 69.9897)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146DD #92DD46
analogous
#4647DD #9146DD #DC46DD
triadic
#9146DD #DD9146 #46DD91
tetradic
#9146DD #DD4647 #92DD46 #46DDDC
square
#9146DD #DD4647 #92DD46 #46DDDC
split-complementary
#9146DD #DDDC46 #47DD46
monochromatic
#541A8E #7224C2 #9146DD #B07AE7 #CEADF0

Accessibility & contrast

On white

5.09
#9146DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9146DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146DD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146DD#FFFFFF#000000##FFFFFF
##9146DD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9146dd;
/* rgb */ color: rgb(145, 70, 221);
/* oklch */ color: oklch(56.5% 0.219 302.6);
Tailwind
colors: {
  custom: {
    50: '#b77fe8',
    500: '#9146dd',
    950: '#000000',
  },
}
SCSS
$custom: #9146dd;
$custom-light: #b77fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9146dd",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 269.801,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.21923,
    "h": 302.6
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#9146DD
secondary
#C0DEA1
accent
#EC3C94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9146DD

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

Preview Lab → · Contrast checker → · Palette generator →

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