#C145D6#C145D6

#C145D6 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.229 H 321.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C145D6
RGBrgb(193, 69, 214)
HSLhsl(291, 64%, 55%)
HSVhsv(291, 68%, 84%)
CMYKcmyk(9.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(52.34, 68.04, -51.12)
CIE-LCHlch(52.34, 85.11, 323.08°)
OKLaboklab(61.87% 0.1796 -0.1428)
OKLCHoklch(61.87% 0.229 321.5)
XYZxyz(36.2567, 20.4507, 65.6429)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145D6 #5AD645
analogous
#7845D6 #C145D6 #D645A3
triadic
#C145D6 #D6C145 #45D6C1
tetradic
#C145D6 #D67845 #5AD645 #45A3D6
square
#C145D6 #D67845 #5AD645 #45A3D6
split-complementary
#C145D6 #A3D645 #45D678
monochromatic
#751D84 #A128B6 #C145D6 #D277E1 #E2A9EC

Accessibility & contrast

On white

4.13
#C145D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C145D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145D6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145D6#FFFFFF#000000##000000
##C145D61.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1274DA
Deuteranopia (green-blind)
#5681D2
Tritanopia (blue-blind)
#C35E88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c145d6;
/* rgb */ color: rgb(193, 69, 214);
/* oklch */ color: oklch(61.9% 0.229 321.5);
Tailwind
colors: {
  custom: {
    50: '#d782e3',
    500: '#c145d6',
    950: '#000000',
  },
}
SCSS
$custom: #c145d6;
$custom-light: #d782e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c145d6",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 291.31,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.22946,
    "h": 321.5
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#C145D6
secondary
#A6DA9D
accent
#E74159
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #C145D6

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

Preview Lab → · Contrast checker → · Palette generator →

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