#C145E5#C145E5

#C145E5 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.8% C 0.242 H 317.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C145E5
RGBrgb(193, 69, 229)
HSLhsl(287, 75%, 58%)
HSVhsv(287, 70%, 90%)
CMYKcmyk(15.7%, 69.9%, 0%, 10.2%)
CIE-LABlab(53.22, 70.80, -58.21)
CIE-LCHlch(53.22, 91.66, 320.57°)
OKLaboklab(62.79% 0.1789 -0.1635)
OKLCHoklch(62.79% 0.242 317.6)
XYZxyz(38.2613, 21.2525, 76.2003)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145E5 #69E545
analogous
#7145E5 #C145E5 #E545B9
triadic
#C145E5 #E5C145 #45E5C1
tetradic
#C145E5 #E57145 #69E545 #45B9E5
square
#C145E5 #E57145 #69E545 #45B9E5
split-complementary
#C145E5 #B9E545 #45E571
monochromatic
#7C169A #A81DD0 #C145E5 #D37BED #E5B0F4

Accessibility & contrast

On white

4.00
#C145E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C145E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145E5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145E5#FFFFFF#000000##000000
##C145E51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#4A83E1
Tritanopia (blue-blind)
#C06591
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c145e5;
/* rgb */ color: rgb(193, 69, 229);
/* oklch */ color: oklch(62.8% 0.242 317.6);
Tailwind
colors: {
  custom: {
    50: '#d883ee',
    500: '#c145e5',
    950: '#000000',
  },
}
SCSS
$custom: #c145e5;
$custom-light: #d883ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c145e5",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 286.5,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.24234,
    "h": 317.6
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#C145E5
secondary
#B1E3A3
accent
#F23660
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C145E5

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

Preview Lab → · Contrast checker → · Palette generator →

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