#9142CC#9142CC

#9142CC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.207 H 307.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9142CC
RGBrgb(145, 66, 204)
HSLhsl(274, 58%, 53%)
HSVhsv(274, 68%, 80%)
CMYKcmyk(28.9%, 67.6%, 0%, 20%)
CIE-LABlab(44.63, 56.98, -58.14)
CIE-LCHlch(44.63, 81.41, 314.43°)
OKLaboklab(54.77% 0.1245 -0.1648)
OKLCHoklch(54.77% 0.207 307.1)
XYZxyz(24.5220, 14.2761, 58.5788)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142CC #7DCC42
analogous
#4C42CC #9142CC #CC42C2
triadic
#9142CC #CC9142 #42CC91
tetradic
#9142CC #CC4C42 #7DCC42 #42C2CC
square
#9142CC #CC4C42 #7DCC42 #42C2CC
split-complementary
#9142CC #C2CC42 #42CC4C
monochromatic
#501F74 #712CA4 #9142CC #AD72D9 #C9A2E6

Accessibility & contrast

On white

5.45
#9142CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9142CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142CC#FFFFFF#000000##FFFFFF
##9142CC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#1E6AC9
Tritanopia (blue-blind)
#876082
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9142cc;
/* rgb */ color: rgb(145, 66, 204);
/* oklch */ color: oklch(54.8% 0.207 307.1);
Tailwind
colors: {
  custom: {
    50: '#b67cdc',
    500: '#9142cc',
    950: '#000000',
  },
}
SCSS
$custom: #9142cc;
$custom-light: #b67cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9142cc",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 274.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.20651,
    "h": 307.1
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#9142CC
secondary
#B1D397
accent
#E14789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142CC

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

Preview Lab → · Contrast checker → · Palette generator →

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