#C038B7#C038B7

#C038B7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.219 H 330.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C038B7
RGBrgb(192, 56, 183)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 75%)
CMYKcmyk(0%, 70.8%, 4.7%, 24.7%)
CIE-LABlab(48.83, 67.30, -38.83)
CIE-LCHlch(48.83, 77.70, 330.02°)
OKLaboklab(58.78% 0.1915 -0.1069)
OKLCHoklch(58.78% 0.219 330.8)
XYZxyz(31.6996, 17.4562, 46.4904)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038B7 #38C041
analogous
#8538C0 #C038B7 #C03873
triadic
#C038B7 #B7C038 #38B7C0
tetradic
#C038B7 #C08538 #38C041 #3873C0
square
#C038B7 #C08538 #38C041 #3873C0
split-complementary
#C038B7 #73C038 #38C085
monochromatic
#611C5D #912A8A #C038B7 #D264CA #DF93DA

Accessibility & contrast

On white

4.68
#C038B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C038B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C038B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038B7#FFFFFF#000000##FFFFFF
##C038B71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BB
Deuteranopia (green-blind)
#617BB4
Tritanopia (blue-blind)
#C74874
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c038b7;
/* rgb */ color: rgb(192, 56, 183);
/* oklch */ color: oklch(58.8% 0.219 330.8);
Tailwind
colors: {
  custom: {
    50: '#d77bcd',
    500: '#c038b7',
    950: '#000000',
  },
}
SCSS
$custom: #c038b7;
$custom-light: #d77bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c038b7",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 303.971,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.21938,
    "h": 330.8
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#C038B7
secondary
#89CB8E
accent
#DE534A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C038B7

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

Preview Lab → · Contrast checker → · Palette generator →

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