#C038C5#C038C5

#C038C5 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.230 H 326.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C038C5
RGBrgb(192, 56, 197)
HSLhsl(298, 56%, 50%)
HSVhsv(298, 72%, 77%)
CMYKcmyk(2.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(49.58, 69.57, -45.78)
CIE-LCHlch(49.58, 83.28, 326.65°)
OKLaboklab(59.55% 0.1918 -0.1271)
OKLCHoklch(59.55% 0.23 326.5)
XYZxyz(33.2298, 18.0683, 54.5498)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038C5 #3DC538
analogous
#7938C5 #C038C5 #C53884
triadic
#C038C5 #C5C038 #38C5C0
tetradic
#C038C5 #C57938 #3DC538 #3884C5
square
#C038C5 #C57938 #3DC538 #3884C5
split-complementary
#C038C5 #84C538 #38C579
monochromatic
#631D66 #922A95 #C038C5 #D067D4 #DF96E1

Accessibility & contrast

On white

4.55
#C038C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C038C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C038C5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038C5#FFFFFF#000000##000000
##C038C51.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#156BC9
Deuteranopia (green-blind)
#597CC2
Tritanopia (blue-blind)
#C54F7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c038c5;
/* rgb */ color: rgb(192, 56, 197);
/* oklch */ color: oklch(59.6% 0.230 326.5);
Tailwind
colors: {
  custom: {
    50: '#d77cd7',
    500: '#c038c5',
    950: '#000000',
  },
}
SCSS
$custom: #c038c5;
$custom-light: #d77cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c038c5",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 297.872,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.23006,
    "h": 326.5
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#C038C5
secondary
#8ECD8C
accent
#DF494E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C038C5

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

Preview Lab → · Contrast checker → · Palette generator →

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