#C338C3#C338C3

#C338C3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.230 H 328.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C338C3
RGBrgb(195, 56, 195)
HSLhsl(300, 55%, 49%)
HSVhsv(300, 71%, 76%)
CMYKcmyk(0%, 71.3%, 0%, 23.5%)
CIE-LABlab(49.95, 69.89, -44.01)
CIE-LCHlch(49.95, 82.59, 327.80°)
OKLaboklab(59.87% 0.195 -0.1219)
OKLCHoklch(59.87% 0.23 328)
XYZxyz(33.7697, 18.3730, 53.3869)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C3 #38C338
analogous
#7E38C3 #C338C3 #C3387E
triadic
#C338C3 #C3C338 #38C3C3
tetradic
#C338C3 #C37E38 #38C338 #387EC3
square
#C338C3 #C37E38 #38C338 #387EC3
split-complementary
#C338C3 #7EC338 #38C37E
monochromatic
#641D64 #932A93 #C338C3 #D365D3 #E195E1

Accessibility & contrast

On white

4.49
#C338C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#C338C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338C3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338C3#FFFFFF#000000##000000
##C338C31.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC7
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#C94D7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c338c3;
/* rgb */ color: rgb(195, 56, 195);
/* oklch */ color: oklch(59.9% 0.230 328.0);
Tailwind
colors: {
  custom: {
    50: '#d97cd6',
    500: '#c338c3',
    950: '#000000',
  },
}
SCSS
$custom: #c338c3;
$custom-light: #d97cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c3",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 300,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59874,
    "c": 0.22993,
    "h": 328
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#C338C3
secondary
#8BCC8B
accent
#DF4949
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C338C3

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

Preview Lab → · Contrast checker → · Palette generator →

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