#C338AD#C338AD

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

Color values

HEX#C338AD
RGBrgb(195, 56, 173)
HSLhsl(309, 55%, 49%)
HSVhsv(309, 71%, 76%)
CMYKcmyk(0%, 71.3%, 11.3%, 23.5%)
CIE-LABlab(48.82, 66.47, -32.94)
CIE-LCHlch(48.82, 74.19, 333.64°)
OKLaboklab(58.7% 0.1939 -0.0899)
OKLCHoklch(58.7% 0.214 335.1)
XYZxyz(31.4630, 17.4503, 41.2382)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338AD #38C34E
analogous
#9338C3 #C338AD #C33868
triadic
#C338AD #ADC338 #38ADC3
tetradic
#C338AD #C39338 #38C34E #3868C3
square
#C338AD #C39338 #38C34E #3868C3
split-complementary
#C338AD #68C338 #38C393
monochromatic
#641D59 #932A83 #C338AD #D365C2 #E195D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C338AD#FFFFFF#000000##FFFFFF
##C338AD1.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)
#3867B0
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#CD436E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c338ad;
/* rgb */ color: rgb(195, 56, 173);
/* oklch */ color: oklch(58.7% 0.214 335.1);
Tailwind
colors: {
  custom: {
    50: '#d97bc6',
    500: '#c338ad',
    950: '#000000',
  },
}
SCSS
$custom: #c338ad;
$custom-light: #d97bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c338ad",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 309.496,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.21375,
    "h": 335.1
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#C338AD
secondary
#8BCC95
accent
#DF6149
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C338AD

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

Preview Lab → · Contrast checker → · Palette generator →

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