#9142CF#9142CF

#9142CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.210 H 306.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9142CF
RGBrgb(145, 66, 207)
HSLhsl(274, 59%, 54%)
HSVhsv(274, 68%, 81%)
CMYKcmyk(30%, 68.1%, 0%, 18.8%)
CIE-LABlab(44.83, 57.66, -59.53)
CIE-LCHlch(44.83, 82.88, 314.09°)
OKLaboklab(54.98% 0.1242 -0.1689)
OKLCHoklch(54.98% 0.21 306.3)
XYZxyz(24.8853, 14.4214, 60.4920)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142CF #80CF42
analogous
#4A42CF #9142CF #CF42C6
triadic
#9142CF #CF9142 #42CF91
tetradic
#9142CF #CF4A42 #80CF42 #42C6CF
square
#9142CF #CF4A42 #80CF42 #42C6CF
split-complementary
#9142CF #C6CF42 #42CF4A
monochromatic
#511F78 #712BA9 #9142CF #AD73DB #CAA4E8

Accessibility & contrast

On white

5.41
#9142CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9142CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142CF#FFFFFF#000000##FFFFFF
##9142CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#866183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9142cf;
/* rgb */ color: rgb(145, 66, 207);
/* oklch */ color: oklch(55.0% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#b67cde',
    500: '#9142cf',
    950: '#000000',
  },
}
SCSS
$custom: #9142cf;
$custom-light: #b67cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9142cf",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 273.617,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.2096,
    "h": 306.3
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#9142CF
secondary
#B3D598
accent
#E3458A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9142CF

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

Preview Lab → · Contrast checker → · Palette generator →

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