#9146D2#9146D2

#9146D2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.208 H 305.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9146D2
RGBrgb(145, 70, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 67%, 82%)
CMYKcmyk(31%, 66.7%, 0%, 17.6%)
CIE-LABlab(45.71, 56.49, -59.84)
CIE-LCHlch(45.71, 82.29, 313.35°)
OKLaboklab(55.67% 0.1195 -0.1698)
OKLCHoklch(55.67% 0.208 305.1)
XYZxyz(25.4975, 15.0534, 62.5226)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146D2 #87D246
analogous
#4B46D2 #9146D2 #D246CD
triadic
#9146D2 #D29146 #46D291
tetradic
#9146D2 #D24B46 #87D246 #46CDD2
square
#9146D2 #D24B46 #87D246 #46CDD2
split-complementary
#9146D2 #CDD246 #46D24B
monochromatic
#521F7F #722BB0 #9146D2 #AE77DE #CCA8EA

Accessibility & contrast

On white

5.24
#9146D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9146D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146D2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146D2#FFFFFF#000000##FFFFFF
##9146D21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#196CCF
Tritanopia (blue-blind)
#856586
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9146d2;
/* rgb */ color: rgb(145, 70, 210);
/* oklch */ color: oklch(55.7% 0.208 305.1);
Tailwind
colors: {
  custom: {
    50: '#b67ee1',
    500: '#9146d2',
    950: '#000000',
  },
}
SCSS
$custom: #9146d2;
$custom-light: #b67ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9146d2",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 272.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.20765,
    "h": 305.1
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#9146D2
secondary
#B8D79C
accent
#E4448E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9146D2

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

Preview Lab → · Contrast checker → · Palette generator →

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