#C338BD#C338BD

#C338BD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.225 H 329.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C338BD
RGBrgb(195, 56, 189)
HSLhsl(303, 55%, 49%)
HSVhsv(303, 71%, 76%)
CMYKcmyk(0%, 71.3%, 3.1%, 23.5%)
CIE-LABlab(49.63, 68.92, -41.03)
CIE-LCHlch(49.63, 80.21, 329.23°)
OKLaboklab(59.54% 0.1949 -0.1133)
OKLCHoklch(59.54% 0.225 329.8)
XYZxyz(33.1050, 18.1071, 49.8857)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338BD #38C33E
analogous
#8438C3 #C338BD #C33878
triadic
#C338BD #BDC338 #38BDC3
tetradic
#C338BD #C38438 #38C33E #3878C3
square
#C338BD #C38438 #38C33E #3878C3
split-complementary
#C338BD #78C338 #38C384
monochromatic
#641D61 #932A8F #C338BD #D365CE #E195DD

Accessibility & contrast

On white

4.54
#C338BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C338BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338BD#FFFFFF#000000##000000
##C338BD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#CA4A77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c338bd;
/* rgb */ color: rgb(195, 56, 189);
/* oklch */ color: oklch(59.5% 0.225 329.8);
Tailwind
colors: {
  custom: {
    50: '#d97cd1',
    500: '#c338bd',
    950: '#000000',
  },
}
SCSS
$custom: #c338bd;
$custom-light: #d97cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c338bd",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 302.59,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.2254,
    "h": 329.8
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#C338BD
secondary
#8BCC8E
accent
#DF5049
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C338BD

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

Preview Lab → · Contrast checker → · Palette generator →

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