#9146DB#9146DB

#9146DB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.217 H 303.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9146DB
RGBrgb(145, 70, 219)
HSLhsl(270, 67%, 57%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(33.8%, 68%, 0%, 14.1%)
CIE-LABlab(46.33, 58.59, -63.98)
CIE-LCHlch(46.33, 86.76, 312.48°)
OKLaboklab(56.32% 0.1185 -0.182)
OKLCHoklch(56.32% 0.217 303.1)
XYZxyz(26.6504, 15.5145, 68.5947)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146DB #90DB46
analogous
#4746DB #9146DB #DB46DB
triadic
#9146DB #DB9146 #46DB91
tetradic
#9146DB #DB4746 #90DB46 #46DBDB
square
#9146DB #DB4746 #90DB46 #46DBDB
split-complementary
#9146DB #DBDB46 #46DB47
monochromatic
#541B8B #7225BF #9146DB #AF79E5 #CEACEF

Accessibility & contrast

On white

5.12
#9146DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9146DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146DB#FFFFFF#000000##FFFFFF
##9146DB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#82688B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9146db;
/* rgb */ color: rgb(145, 70, 219);
/* oklch */ color: oklch(56.3% 0.217 303.1);
Tailwind
colors: {
  custom: {
    50: '#b77fe7',
    500: '#9146db',
    950: '#000000',
  },
}
SCSS
$custom: #9146db;
$custom-light: #b77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9146db",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 270.201,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.21713,
    "h": 303.1
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#9146DB
secondary
#BEDDA0
accent
#EA3D93
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9146DB

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

Preview Lab → · Contrast checker → · Palette generator →

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