#9142D1#9142D1

#9142D1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.212 H 305.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9142D1
RGBrgb(145, 66, 209)
HSLhsl(273, 61%, 54%)
HSVhsv(273, 68%, 82%)
CMYKcmyk(30.6%, 68.4%, 0%, 18%)
CIE-LABlab(44.97, 58.12, -60.46)
CIE-LCHlch(44.97, 83.87, 313.87°)
OKLaboklab(55.12% 0.1239 -0.1716)
OKLCHoklch(55.12% 0.212 305.8)
XYZxyz(25.1314, 14.5198, 61.7879)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142D1 #82D142
analogous
#4A42D1 #9142D1 #D142CA
triadic
#9142D1 #D19142 #42D191
tetradic
#9142D1 #D14A42 #82D142 #42CAD1
square
#9142D1 #D14A42 #82D142 #42CAD1
split-complementary
#9142D1 #CAD142 #42D14A
monochromatic
#511E7B #722AAC #9142D1 #AE73DD #CAA4E9

Accessibility & contrast

On white

5.38
#9142D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9142D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142D1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142D1#FFFFFF#000000##FFFFFF
##9142D11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#116BCE
Tritanopia (blue-blind)
#866285
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9142d1;
/* rgb */ color: rgb(145, 66, 209);
/* oklch */ color: oklch(55.1% 0.212 305.8);
Tailwind
colors: {
  custom: {
    50: '#b67ce0',
    500: '#9142d1',
    950: '#000000',
  },
}
SCSS
$custom: #9142d1;
$custom-light: #b67ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#9142d1",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 273.147,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.21166,
    "h": 305.8
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#9142D1
secondary
#B4D699
accent
#E4448C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142D1

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

Preview Lab → · Contrast checker → · Palette generator →

#9142D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva