#C339B2#C339B2

#C339B2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.216 H 333.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C339B2
RGBrgb(195, 57, 178)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 70.8%, 8.7%, 23.5%)
CIE-LABlab(49.19, 66.88, -35.31)
CIE-LCHlch(49.19, 75.63, 332.17°)
OKLaboklab(59.04% 0.1933 -0.0967)
OKLCHoklch(59.04% 0.216 333.4)
XYZxyz(32.0049, 17.7454, 43.8504)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C339B2 #39C34A
analogous
#8F39C3 #C339B2 #C3396D
triadic
#C339B2 #B2C339 #39B2C3
tetradic
#C339B2 #C38F39 #39C34A #396DC3
square
#C339B2 #C38F39 #39C34A #396DC3
split-complementary
#C339B2 #6DC339 #39C38F
monochromatic
#641D5C #942B87 #C339B2 #D267C5 #E096D7

Accessibility & contrast

On white

4.62
#C339B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C339B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C339B2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C339B2#FFFFFF#000000##FFFFFF
##C339B21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#CC4671
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c339b2;
/* rgb */ color: rgb(195, 57, 178);
/* oklch */ color: oklch(59.0% 0.216 333.4);
Tailwind
colors: {
  custom: {
    50: '#d97cc9',
    500: '#c339b2',
    950: '#000000',
  },
}
SCSS
$custom: #c339b2;
$custom-light: #d97cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c339b2",
  "rgb": {
    "r": 195,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 307.391,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.21617,
    "h": 333.4
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#C339B2
secondary
#8CCC94
accent
#DE5C4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C339B2

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

Preview Lab → · Contrast checker → · Palette generator →

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