#C338C2#C338C2

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

Color values

HEX#C338C2
RGBrgb(195, 56, 194)
HSLhsl(300, 55%, 49%)
HSVhsv(300, 71%, 76%)
CMYKcmyk(0%, 71.3%, 0.5%, 23.5%)
CIE-LABlab(49.89, 69.72, -43.52)
CIE-LCHlch(49.89, 82.19, 328.03°)
OKLaboklab(59.82% 0.195 -0.1205)
OKLCHoklch(59.82% 0.229 328.3)
XYZxyz(33.6571, 18.3279, 52.7934)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C2 #38C339
analogous
#7F38C3 #C338C2 #C3387D
triadic
#C338C2 #C2C338 #38C2C3
tetradic
#C338C2 #C37F38 #38C339 #387DC3
square
#C338C2 #C37F38 #38C339 #387DC3
split-complementary
#C338C2 #7DC338 #38C37F
monochromatic
#641D63 #932A93 #C338C2 #D365D2 #E195E0

Accessibility & contrast

On white

4.50
#C338C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C338C2#FFFFFF#000000##000000
##C338C21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#C94D7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c338c2;
/* rgb */ color: rgb(195, 56, 194);
/* oklch */ color: oklch(59.8% 0.229 328.3);
Tailwind
colors: {
  custom: {
    50: '#d97cd5',
    500: '#c338c2',
    950: '#000000',
  },
}
SCSS
$custom: #c338c2;
$custom-light: #d97cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c2",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 300.432,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.22916,
    "h": 328.3
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C338C2

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

Preview Lab → · Contrast checker → · Palette generator →

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