#C038B5#C038B5

#C038B5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.218 H 331.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C038B5
RGBrgb(192, 56, 181)
HSLhsl(305, 55%, 49%)
HSVhsv(305, 71%, 75%)
CMYKcmyk(0%, 70.8%, 5.7%, 24.7%)
CIE-LABlab(48.73, 66.99, -37.82)
CIE-LCHlch(48.73, 76.93, 330.55°)
OKLaboklab(58.67% 0.1915 -0.104)
OKLCHoklch(58.67% 0.218 331.5)
XYZxyz(31.4929, 17.3735, 45.4018)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038B5 #38C043
analogous
#8738C0 #C038B5 #C03871
triadic
#C038B5 #B5C038 #38B5C0
tetradic
#C038B5 #C08738 #38C043 #3871C0
square
#C038B5 #C08738 #38C043 #3871C0
split-complementary
#C038B5 #71C038 #38C087
monochromatic
#611C5C #912A88 #C038B5 #D264C9 #DF93D9

Accessibility & contrast

On white

4.69
#C038B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C038B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C038B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038B5#FFFFFF#000000##FFFFFF
##C038B51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#627AB2
Tritanopia (blue-blind)
#C84773
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c038b5;
/* rgb */ color: rgb(192, 56, 181);
/* oklch */ color: oklch(58.7% 0.218 331.5);
Tailwind
colors: {
  custom: {
    50: '#d77bcb',
    500: '#c038b5',
    950: '#000000',
  },
}
SCSS
$custom: #c038b5;
$custom-light: #d77bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c038b5",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 304.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.21789,
    "h": 331.5
  },
  "luminance": 0.17371
}

Semantic roles & 50–950 ramp

primary
#C038B5
secondary
#89CB8F
accent
#DE564A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C038B5

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

Preview Lab → · Contrast checker → · Palette generator →

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