#C038AA#C038AA

#C038AA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.210 H 335.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C038AA
RGBrgb(192, 56, 170)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 75%)
CMYKcmyk(0%, 70.8%, 11.5%, 24.7%)
CIE-LABlab(48.18, 65.32, -32.21)
CIE-LCHlch(48.18, 72.82, 333.75°)
OKLaboklab(58.1% 0.1906 -0.0879)
OKLCHoklch(58.1% 0.21 335.2)
XYZxyz(30.4085, 16.9397, 39.6906)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038AA #38C04E
analogous
#9238C0 #C038AA #C03866
triadic
#C038AA #AAC038 #38AAC0
tetradic
#C038AA #C09238 #38C04E #3866C0
square
#C038AA #C09238 #38C04E #3866C0
split-complementary
#C038AA #66C038 #38C092
monochromatic
#611C56 #912A80 #C038AA #D264C0 #DF93D3

Accessibility & contrast

On white

4.79
#C038AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C038AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C038AA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038AA#FFFFFF#000000##FFFFFF
##C038AA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#677AA7
Tritanopia (blue-blind)
#C9426D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c038aa;
/* rgb */ color: rgb(192, 56, 170);
/* oklch */ color: oklch(58.1% 0.210 335.2);
Tailwind
colors: {
  custom: {
    50: '#d77bc3',
    500: '#c038aa',
    950: '#000000',
  },
}
SCSS
$custom: #c038aa;
$custom-light: #d77bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c038aa",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 309.706,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58099,
    "c": 0.20992,
    "h": 335.2
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#C038AA
secondary
#89CB94
accent
#DE624A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C038AA

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

Preview Lab → · Contrast checker → · Palette generator →

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