#C038C2#C038C2

#C038C2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.228 H 327.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C038C2
RGBrgb(192, 56, 194)
HSLhsl(299, 55%, 49%)
HSVhsv(299, 71%, 76%)
CMYKcmyk(1%, 71.1%, 0%, 23.9%)
CIE-LABlab(49.41, 69.07, -44.30)
CIE-LCHlch(49.41, 82.06, 327.32°)
OKLaboklab(59.38% 0.1918 -0.1228)
OKLCHoklch(59.38% 0.228 327.4)
XYZxyz(32.8895, 17.9322, 52.7574)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038C2 #3AC238
analogous
#7B38C2 #C038C2 #C2387F
triadic
#C038C2 #C2C038 #38C2C0
tetradic
#C038C2 #C27B38 #3AC238 #387FC2
square
#C038C2 #C27B38 #3AC238 #387FC2
split-complementary
#C038C2 #7FC238 #38C27B
monochromatic
#621D63 #912A93 #C038C2 #D165D2 #DF94E0

Accessibility & contrast

On white

4.58
#C038C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C038C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C038C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038C2#FFFFFF#000000##000000
##C038C21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#C64D7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c038c2;
/* rgb */ color: rgb(192, 56, 194);
/* oklch */ color: oklch(59.4% 0.228 327.4);
Tailwind
colors: {
  custom: {
    50: '#d77cd5',
    500: '#c038c2',
    950: '#000000',
  },
}
SCSS
$custom: #c038c2;
$custom-light: #d77cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c038c2",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 299.13,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.22773,
    "h": 327.4
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#C038C2
secondary
#8BCB8A
accent
#DF494B
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C038C2

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

Preview Lab → · Contrast checker → · Palette generator →

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