#C338C0#C338C0

#C338C0 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.228 H 328.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C338C0
RGBrgb(195, 56, 192)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 76%)
CMYKcmyk(0%, 71.3%, 1.5%, 23.5%)
CIE-LABlab(49.78, 69.40, -42.53)
CIE-LCHlch(49.78, 81.39, 328.50°)
OKLaboklab(59.71% 0.1949 -0.1176)
OKLCHoklch(59.71% 0.228 328.9)
XYZxyz(33.4340, 18.2387, 51.6184)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C0 #38C33B
analogous
#8138C3 #C338C0 #C3387B
triadic
#C338C0 #C0C338 #38C0C3
tetradic
#C338C0 #C38138 #38C33B #387BC3
square
#C338C0 #C38138 #38C33B #387BC3
split-complementary
#C338C0 #7BC338 #38C381
monochromatic
#641D62 #932A91 #C338C0 #D365D1 #E195DF

Accessibility & contrast

On white

4.52
#C338C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C338C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338C0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338C0#FFFFFF#000000##000000
##C338C01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#CA4C79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c338c0;
/* rgb */ color: rgb(195, 56, 192);
/* oklch */ color: oklch(59.7% 0.228 328.9);
Tailwind
colors: {
  custom: {
    50: '#d97cd3',
    500: '#c338c0',
    950: '#000000',
  },
}
SCSS
$custom: #c338c0;
$custom-light: #d97cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c0",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 301.295,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.22765,
    "h": 328.9
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C338C0

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

Preview Lab → · Contrast checker → · Palette generator →

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