#9142D4#9142D4

#9142D4 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.215 H 305.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9142D4
RGBrgb(145, 66, 212)
HSLhsl(272, 63%, 55%)
HSVhsv(272, 69%, 83%)
CMYKcmyk(31.6%, 68.9%, 0%, 16.9%)
CIE-LABlab(45.18, 58.81, -61.85)
CIE-LCHlch(45.18, 85.34, 313.56°)
OKLaboklab(55.34% 0.1235 -0.1757)
OKLCHoklch(55.34% 0.215 305.1)
XYZxyz(25.5063, 14.6698, 63.7624)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142D4 #85D442
analogous
#4842D4 #9142D4 #D442CE
triadic
#9142D4 #D49142 #42D491
tetradic
#9142D4 #D44842 #85D442 #42CED4
square
#9142D4 #D44842 #85D442 #42CED4
split-complementary
#9142D4 #CED442 #42D448
monochromatic
#521D7F #7228B1 #9142D4 #AE74DF #CBA6EB

Accessibility & contrast

On white

5.34
#9142D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9142D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142D4#FFFFFF#000000##FFFFFF
##9142D41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#036BD1
Tritanopia (blue-blind)
#856386
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9142d4;
/* rgb */ color: rgb(145, 66, 212);
/* oklch */ color: oklch(55.3% 0.215 305.1);
Tailwind
colors: {
  custom: {
    50: '#b67ce2',
    500: '#9142d4',
    950: '#000000',
  },
}
SCSS
$custom: #9142d4;
$custom-light: #b67ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#9142d4",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 272.466,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.21475,
    "h": 305.1
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#9142D4
secondary
#B6D89A
accent
#E6428D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9142D4

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

Preview Lab → · Contrast checker → · Palette generator →

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