#C338B0#C338B0

#C338B0 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.216 H 334.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C338B0
RGBrgb(195, 56, 176)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 76%)
CMYKcmyk(0%, 71.3%, 9.7%, 23.5%)
CIE-LABlab(48.97, 66.92, -34.48)
CIE-LCHlch(48.97, 75.28, 332.74°)
OKLaboklab(58.85% 0.1942 -0.0943)
OKLCHoklch(58.85% 0.216 334.1)
XYZxyz(31.7566, 17.5677, 42.7843)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C338B0 #38C34B
analogous
#9038C3 #C338B0 #C3386B
triadic
#C338B0 #B0C338 #38B0C3
tetradic
#C338B0 #C39038 #38C34B #386BC3
square
#C338B0 #C39038 #38C34B #386BC3
split-complementary
#C338B0 #6BC338 #38C390
monochromatic
#641D5A #932A85 #C338B0 #D365C4 #E195D6

Accessibility & contrast

On white

4.65
#C338B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C338B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C338B0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C338B0#FFFFFF#000000##FFFFFF
##C338B01.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#677CAD
Tritanopia (blue-blind)
#CC4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c338b0;
/* rgb */ color: rgb(195, 56, 176);
/* oklch */ color: oklch(58.9% 0.216 334.1);
Tailwind
colors: {
  custom: {
    50: '#d97bc8',
    500: '#c338b0',
    950: '#000000',
  },
}
SCSS
$custom: #c338b0;
$custom-light: #d97bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c338b0",
  "rgb": {
    "r": 195,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 308.201,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.21588,
    "h": 334.1
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#C338B0
secondary
#8BCC94
accent
#DF5E49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C338B0

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

Preview Lab → · Contrast checker → · Palette generator →

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