#C338C5#C338C5

#C338C5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.231 H 327.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C338C5
RGBrgb(195, 56, 197)
HSLhsl(299, 56%, 50%)
HSVhsv(299, 72%, 77%)
CMYKcmyk(1%, 71.6%, 0%, 22.7%)
CIE-LABlab(50.05, 70.21, -44.99)
CIE-LCHlch(50.05, 83.39, 327.35°)
OKLaboklab(59.99% 0.195 -0.1248)
OKLCHoklch(59.99% 0.231 327.4)
XYZxyz(33.9974, 18.4641, 54.5858)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338C5 #3AC538
analogous
#7D38C5 #C338C5 #C53881
triadic
#C338C5 #C5C338 #38C5C3
tetradic
#C338C5 #C57D38 #3AC538 #3881C5
square
#C338C5 #C57D38 #3AC538 #3881C5
split-complementary
#C338C5 #81C538 #38C57D
monochromatic
#651D66 #942A95 #C338C5 #D267D4 #E096E1

Accessibility & contrast

On white

4.48
#C338C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C338C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C338C5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338C5#FFFFFF#000000##000000
##C338C51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6CC9
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#C94E7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c338c5;
/* rgb */ color: rgb(195, 56, 197);
/* oklch */ color: oklch(60.0% 0.231 327.4);
Tailwind
colors: {
  custom: {
    50: '#d97cd7',
    500: '#c338c5',
    950: '#000000',
  },
}
SCSS
$custom: #c338c5;
$custom-light: #d97cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c338c5",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 299.149,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59987,
    "c": 0.23145,
    "h": 327.4
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

primary
#C338C5
secondary
#8DCD8C
accent
#DF494B
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C338C5

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

Preview Lab → · Contrast checker → · Palette generator →

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