#C338C7#C338C7

#C338C7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.233 H 326.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C338C7
RGBrgb(195, 56, 199)
HSLhsl(298, 56%, 50%)
HSVhsv(298, 72%, 78%)
CMYKcmyk(2%, 71.9%, 0%, 22%)
CIE-LABlab(50.16, 70.54, -45.97)
CIE-LCHlch(50.16, 84.20, 326.91°)
OKLaboklab(60.1% 0.1949 -0.1276)
OKLCHoklch(60.1% 0.233 326.8)
XYZxyz(34.2281, 18.5563, 55.8007)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C7 #3CC738
analogous
#7C38C7 #C338C7 #C73883
triadic
#C338C7 #C7C338 #38C7C3
tetradic
#C338C7 #C77C38 #3CC738 #3883C7
square
#C338C7 #C77C38 #3CC738 #3883C7
split-complementary
#C338C7 #83C738 #38C77C
monochromatic
#651D67 #942B97 #C338C7 #D168D4 #E098E2

Accessibility & contrast

On white

4.46
#C338C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C338C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338C7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338C7#FFFFFF#000000##000000
##C338C71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#156CCB
Deuteranopia (green-blind)
#5B7DC3
Tritanopia (blue-blind)
#C84F7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c338c7;
/* rgb */ color: rgb(195, 56, 199);
/* oklch */ color: oklch(60.1% 0.233 326.8);
Tailwind
colors: {
  custom: {
    50: '#d97cd8',
    500: '#c338c7',
    950: '#000000',
  },
}
SCSS
$custom: #c338c7;
$custom-light: #d97cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c7",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 298.322,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.23299,
    "h": 326.8
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#C338C7
secondary
#8FCD8D
accent
#DF484D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C338C7

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

Preview Lab → · Contrast checker → · Palette generator →

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