#C038BD#C038BD

#C038BD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.224 H 328.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C038BD
RGBrgb(192, 56, 189)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 75%)
CMYKcmyk(0%, 70.8%, 1.6%, 24.7%)
CIE-LABlab(49.14, 68.26, -41.83)
CIE-LCHlch(49.14, 80.06, 328.50°)
OKLaboklab(59.1% 0.1917 -0.1156)
OKLCHoklch(59.1% 0.224 328.9)
XYZxyz(32.3374, 17.7113, 49.8497)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038BD #38C03B
analogous
#7F38C0 #C038BD #C03879
triadic
#C038BD #BDC038 #38BDC0
tetradic
#C038BD #C07F38 #38C03B #3879C0
square
#C038BD #C07F38 #38C03B #3879C0
split-complementary
#C038BD #79C038 #38C07F
monochromatic
#611C60 #912A8E #C038BD #D264CF #DF93DE

Accessibility & contrast

On white

4.62
#C038BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C038BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C038BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038BD#FFFFFF#000000##FFFFFF
##C038BD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C1
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#C64B77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c038bd;
/* rgb */ color: rgb(192, 56, 189);
/* oklch */ color: oklch(59.1% 0.224 328.9);
Tailwind
colors: {
  custom: {
    50: '#d77bd1',
    500: '#c038bd',
    950: '#000000',
  },
}
SCSS
$custom: #c038bd;
$custom-light: #d77bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c038bd",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 301.324,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.2239,
    "h": 328.9
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#C038BD
secondary
#89CB8B
accent
#DE4D4A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C038BD

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

Preview Lab → · Contrast checker → · Palette generator →

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