#C142DB#C142DB

#C142DB is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.237 H 320.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C142DB
RGBrgb(193, 66, 219)
HSLhsl(290, 68%, 56%)
HSVhsv(290, 70%, 86%)
CMYKcmyk(11.9%, 69.9%, 0%, 14.1%)
CIE-LABlab(52.23, 70.08, -54.15)
CIE-LCHlch(52.23, 88.56, 322.31°)
OKLaboklab(61.89% 0.1825 -0.1516)
OKLCHoklch(61.89% 0.237 320.3)
XYZxyz(36.7252, 20.3502, 68.9976)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142DB #5CDB42
analogous
#7442DB #C142DB #DB42A8
triadic
#C142DB #DBC142 #42DBC1
tetradic
#C142DB #DB7442 #5CDB42 #42A8DB
square
#C142DB #DB7442 #5CDB42 #42A8DB
split-complementary
#C142DB #A8DB42 #42DB74
monochromatic
#761A89 #A224BC #C142DB #D275E5 #E3A9EF

Accessibility & contrast

On white

4.14
#C142DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C142DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142DB#FFFFFF#000000##000000
##C142DB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#C25F8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c142db;
/* rgb */ color: rgb(193, 66, 219);
/* oklch */ color: oklch(61.9% 0.237 320.3);
Tailwind
colors: {
  custom: {
    50: '#d881e7',
    500: '#c142db',
    950: '#000000',
  },
}
SCSS
$custom: #c142db;
$custom-light: #d881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c142db",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 289.804,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.23721,
    "h": 320.3
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#C142DB
secondary
#A7DC9D
accent
#EB3D5A
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C142DB

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

Preview Lab → · Contrast checker → · Palette generator →

#C142DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva