#C229C1#C229C1

#C229C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.242 H 328.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C229C1
RGBrgb(194, 41, 193)
HSLhsl(300, 65%, 46%)
HSVhsv(300, 79%, 76%)
CMYKcmyk(0%, 78.9%, 0.5%, 23.9%)
CIE-LABlab(48.14, 73.75, -45.72)
CIE-LCHlch(48.14, 86.77, 328.20°)
OKLaboklab(58.52% 0.2064 -0.1268)
OKLCHoklch(58.52% 0.242 328.4)
XYZxyz(32.6664, 16.9080, 51.9848)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C229C1 #29C22A
analogous
#7629C2 #C229C1 #C22974
triadic
#C229C1 #C1C229 #29C1C2
tetradic
#C229C1 #C27629 #29C22A #2974C2
square
#C229C1 #C27629 #29C22A #2974C2
split-complementary
#C229C1 #74C229 #29C276
monochromatic
#5D145C #8F1E8F #C229C1 #DA4ED9 #E481E4

Accessibility & contrast

On white

4.79
#C229C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C229C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C229C1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C229C1#FFFFFF#000000##FFFFFF
##C229C11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#C84476
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c229c1;
/* rgb */ color: rgb(194, 41, 193);
/* oklch */ color: oklch(58.5% 0.242 328.4);
Tailwind
colors: {
  custom: {
    50: '#d976d4',
    500: '#c229c1',
    950: '#000000',
  },
}
SCSS
$custom: #c229c1;
$custom-light: #d976d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c229c1",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 300.392,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.24223,
    "h": 328.4
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#C229C1
secondary
#7ACD7A
accent
#E84140
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C229C1

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

Preview Lab → · Contrast checker → · Palette generator →

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