#9142C8#9142C8

#9142C8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.202 H 308.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9142C8
RGBrgb(145, 66, 200)
HSLhsl(275, 55%, 52%)
HSVhsv(275, 67%, 78%)
CMYKcmyk(27.5%, 67%, 0%, 21.6%)
CIE-LABlab(44.36, 56.08, -56.26)
CIE-LCHlch(44.36, 79.44, 314.91°)
OKLaboklab(54.49% 0.1249 -0.1592)
OKLCHoklch(54.49% 0.202 308.1)
XYZxyz(24.0485, 14.0867, 56.0845)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142C8 #79C842
analogous
#4E42C8 #9142C8 #C842BC
triadic
#9142C8 #C89142 #42C891
tetradic
#9142C8 #C84E42 #79C842 #42BCC8
square
#9142C8 #C84E42 #79C842 #42BCC8
split-complementary
#9142C8 #BCC842 #42C84E
monochromatic
#4F206F #702E9F #9142C8 #AD71D6 #C8A1E4

Accessibility & contrast

On white

5.50
#9142C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9142C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142C8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142C8#FFFFFF#000000##FFFFFF
##9142C81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#885F80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9142c8;
/* rgb */ color: rgb(145, 66, 200);
/* oklch */ color: oklch(54.5% 0.202 308.1);
Tailwind
colors: {
  custom: {
    50: '#b57cd9',
    500: '#9142c8',
    950: '#000000',
  },
}
SCSS
$custom: #9142c8;
$custom-light: #b57cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9142c8",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 275.373,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.20239,
    "h": 308.1
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#9142C8
secondary
#AED096
accent
#DE4A87
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142C8

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

Preview Lab → · Contrast checker → · Palette generator →

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