#9142D3#9142D3

#9142D3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.214 H 305.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9142D3
RGBrgb(145, 66, 211)
HSLhsl(273, 62%, 54%)
HSVhsv(273, 69%, 83%)
CMYKcmyk(31.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(45.11, 58.58, -61.39)
CIE-LCHlch(45.11, 84.85, 313.66°)
OKLaboklab(55.27% 0.1237 -0.1743)
OKLCHoklch(55.27% 0.214 305.3)
XYZxyz(25.3805, 14.6195, 63.1001)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142D3 #84D342
analogous
#4942D3 #9142D3 #D342CC
triadic
#9142D3 #D39142 #42D391
tetradic
#9142D3 #D34942 #84D342 #42CCD3
square
#9142D3 #D34942 #84D342 #42CCD3
split-complementary
#9142D3 #CCD342 #42D349
monochromatic
#521D7D #7229AF #9142D3 #AE74DF #CBA5EA

Accessibility & contrast

On white

5.35
#9142D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9142D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142D3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142D3#FFFFFF#000000##FFFFFF
##9142D31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#086BD0
Tritanopia (blue-blind)
#856386
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9142d3;
/* rgb */ color: rgb(145, 66, 211);
/* oklch */ color: oklch(55.3% 0.214 305.3);
Tailwind
colors: {
  custom: {
    50: '#b67ce1',
    500: '#9142d3',
    950: '#000000',
  },
}
SCSS
$custom: #9142d3;
$custom-light: #b67ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9142d3",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 272.69,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55266,
    "c": 0.21372,
    "h": 305.3
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#9142D3
secondary
#B6D79A
accent
#E5428D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142D3

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

Preview Lab → · Contrast checker → · Palette generator →

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