#C145E8#C145E8

#C145E8 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.0% C 0.245 H 316.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C145E8
RGBrgb(193, 69, 232)
HSLhsl(286, 78%, 59%)
HSVhsv(286, 70%, 91%)
CMYKcmyk(16.8%, 70.3%, 0%, 9%)
CIE-LABlab(53.41, 71.37, -59.61)
CIE-LCHlch(53.41, 92.99, 320.13°)
OKLaboklab(62.98% 0.1786 -0.1676)
OKLCHoklch(62.98% 0.245 316.8)
XYZxyz(38.6838, 21.4215, 78.4254)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145E8 #6CE845
analogous
#7045E8 #C145E8 #E845BE
triadic
#C145E8 #E8C145 #45E8C1
tetradic
#C145E8 #E87045 #6CE845 #45BEE8
square
#C145E8 #E87045 #6CE845 #45BEE8
split-complementary
#C145E8 #BEE845 #45E870
monochromatic
#7E149F #A91AD5 #C145E8 #D37BEF #E5B2F5

Accessibility & contrast

On white

3.97
#C145E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C145E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145E8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145E8#FFFFFF#000000##000000
##C145E81.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#BF6692
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c145e8;
/* rgb */ color: rgb(193, 69, 232);
/* oklch */ color: oklch(63.0% 0.245 316.8);
Tailwind
colors: {
  custom: {
    50: '#d883f0',
    500: '#c145e8',
    950: '#000000',
  },
}
SCSS
$custom: #c145e8;
$custom-light: #d883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c145e8",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 285.644,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62975,
    "c": 0.24493,
    "h": 316.8
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#C145E8
secondary
#B4E4A4
accent
#F43362
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C145E8

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

Preview Lab → · Contrast checker → · Palette generator →

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