#C338C1#C338C1

#C338C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.228 H 328.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C338C1
RGBrgb(195, 56, 193)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 76%)
CMYKcmyk(0%, 71.3%, 1%, 23.5%)
CIE-LABlab(49.84, 69.56, -43.02)
CIE-LCHlch(49.84, 81.79, 328.26°)
OKLaboklab(59.76% 0.1949 -0.119)
OKLCHoklch(59.76% 0.228 328.6)
XYZxyz(33.5451, 18.2832, 52.2039)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C1 #38C33A
analogous
#8038C3 #C338C1 #C3387C
triadic
#C338C1 #C1C338 #38C1C3
tetradic
#C338C1 #C38038 #38C33A #387CC3
square
#C338C1 #C38038 #38C33A #387CC3
split-complementary
#C338C1 #7CC338 #38C380
monochromatic
#641D63 #932A92 #C338C1 #D365D1 #E195DF

Accessibility & contrast

On white

4.51
#C338C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C338C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338C1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338C1#FFFFFF#000000##000000
##C338C11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#C94C79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c338c1;
/* rgb */ color: rgb(195, 56, 193);
/* oklch */ color: oklch(59.8% 0.228 328.6);
Tailwind
colors: {
  custom: {
    50: '#d97cd4',
    500: '#c338c1',
    950: '#000000',
  },
}
SCSS
$custom: #c338c1;
$custom-light: #d97cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c1",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 300.863,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.22841,
    "h": 328.6
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#C338C1
secondary
#8BCC8C
accent
#DF4B49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C338C1

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

Preview Lab → · Contrast checker → · Palette generator →

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