#9142CA#9142CA

#9142CA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.204 H 307.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9142CA
RGBrgb(145, 66, 202)
HSLhsl(275, 56%, 53%)
HSVhsv(275, 67%, 79%)
CMYKcmyk(28.2%, 67.3%, 0%, 20.8%)
CIE-LABlab(44.49, 56.53, -57.20)
CIE-LCHlch(44.49, 80.42, 314.66°)
OKLaboklab(54.63% 0.1247 -0.162)
OKLCHoklch(54.63% 0.204 307.6)
XYZxyz(24.2837, 14.1808, 57.3235)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142CA #7BCA42
analogous
#4D42CA #9142CA #CA42BF
triadic
#9142CA #CA9142 #42CA91
tetradic
#9142CA #CA4D42 #7BCA42 #42BFCA
square
#9142CA #CA4D42 #7BCA42 #42BFCA
split-complementary
#9142CA #BFCA42 #42CA4D
monochromatic
#4F2072 #712DA2 #9142CA #AD72D7 #C9A2E5

Accessibility & contrast

On white

5.47
#9142CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9142CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142CA#FFFFFF#000000##FFFFFF
##9142CA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#885F81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9142ca;
/* rgb */ color: rgb(145, 66, 202);
/* oklch */ color: oklch(54.6% 0.204 307.6);
Tailwind
colors: {
  custom: {
    50: '#b67cdb',
    500: '#9142ca',
    950: '#000000',
  },
}
SCSS
$custom: #9142ca;
$custom-light: #b67cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9142ca",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 274.853,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.20445,
    "h": 307.6
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#9142CA
secondary
#AFD196
accent
#DF4888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142CA

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

Preview Lab → · Contrast checker → · Palette generator →

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