#9142C3#9142C3

#9142C3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.197 H 309.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9142C3
RGBrgb(145, 66, 195)
HSLhsl(277, 52%, 51%)
HSVhsv(277, 66%, 76%)
CMYKcmyk(25.6%, 66.2%, 0%, 23.5%)
CIE-LABlab(44.03, 54.97, -53.89)
CIE-LCHlch(44.03, 76.98, 315.57°)
OKLaboklab(54.15% 0.1254 -0.1523)
OKLCHoklch(54.15% 0.197 309.5)
XYZxyz(23.4737, 13.8567, 53.0572)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142C3 #74C342
analogous
#5042C3 #9142C3 #C342B4
triadic
#9142C3 #C39142 #42C391
tetradic
#9142C3 #C35042 #74C342 #42B4C3
square
#9142C3 #C35042 #74C342 #42B4C3
split-complementary
#9142C3 #B4C342 #42C350
monochromatic
#4D2169 #703098 #9142C3 #AC70D2 #C79FE0

Accessibility & contrast

On white

5.57
#9142C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9142C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142C3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142C3#FFFFFF#000000##FFFFFF
##9142C31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#8A5D7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9142c3;
/* rgb */ color: rgb(145, 66, 195);
/* oklch */ color: oklch(54.1% 0.197 309.5);
Tailwind
colors: {
  custom: {
    50: '#b57cd6',
    500: '#9142c3',
    950: '#000000',
  },
}
SCSS
$custom: #9142c3;
$custom-light: #b57cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9142c3",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 276.744,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.19724,
    "h": 309.5
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#9142C3
secondary
#AACD94
accent
#DB4D84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9142C3

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

Preview Lab → · Contrast checker → · Palette generator →

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