#9142CE#9142CE

#9142CE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.209 H 306.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9142CE
RGBrgb(145, 66, 206)
HSLhsl(274, 59%, 53%)
HSVhsv(274, 68%, 81%)
CMYKcmyk(29.6%, 68%, 0%, 19.2%)
CIE-LABlab(44.76, 57.44, -59.07)
CIE-LCHlch(44.76, 82.39, 314.20°)
OKLaboklab(54.91% 0.1243 -0.1675)
OKLCHoklch(54.91% 0.209 306.6)
XYZxyz(24.7635, 14.3727, 59.8502)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142CE #7FCE42
analogous
#4B42CE #9142CE #CE42C5
triadic
#9142CE #CE9142 #42CE91
tetradic
#9142CE #CE4B42 #7FCE42 #42C5CE
square
#9142CE #CE4B42 #7FCE42 #42C5CE
split-complementary
#9142CE #C5CE42 #42CE4B
monochromatic
#501F77 #712BA7 #9142CE #AD73DB #CAA3E7

Accessibility & contrast

On white

5.42
#9142CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9142CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142CE#FFFFFF#000000##FFFFFF
##9142CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#1A6ACB
Tritanopia (blue-blind)
#876183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9142ce;
/* rgb */ color: rgb(145, 66, 206);
/* oklch */ color: oklch(54.9% 0.209 306.6);
Tailwind
colors: {
  custom: {
    50: '#b67cde',
    500: '#9142ce',
    950: '#000000',
  },
}
SCSS
$custom: #9142ce;
$custom-light: #b67cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9142ce",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 273.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.20857,
    "h": 306.6
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#9142CE
secondary
#B2D498
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142CE

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

Preview Lab → · Contrast checker → · Palette generator →

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