#C229C2#C229C2

#C229C2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.243 H 328.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C229C2
RGBrgb(194, 41, 194)
HSLhsl(300, 65%, 46%)
HSVhsv(300, 79%, 76%)
CMYKcmyk(0%, 78.9%, 0%, 23.9%)
CIE-LABlab(48.20, 73.91, -46.21)
CIE-LCHlch(48.20, 87.17, 327.98°)
OKLaboklab(58.58% 0.2064 -0.1282)
OKLCHoklch(58.58% 0.243 328.1)
XYZxyz(32.7783, 16.9527, 52.5743)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C229C2 #29C229
analogous
#7529C2 #C229C2 #C22975
triadic
#C229C2 #C2C229 #29C2C2
tetradic
#C229C2 #C27529 #29C229 #2975C2
square
#C229C2 #C27529 #29C229 #2975C2
split-complementary
#C229C2 #75C229 #29C275
monochromatic
#5D145D #8F1E8F #C229C2 #DA4EDA #E481E4

Accessibility & contrast

On white

4.78
#C229C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C229C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C229C2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C229C2#FFFFFF#000000##FFFFFF
##C229C21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c229c2;
/* rgb */ color: rgb(194, 41, 194);
/* oklch */ color: oklch(58.6% 0.243 328.1);
Tailwind
colors: {
  custom: {
    50: '#d976d5',
    500: '#c229c2',
    950: '#000000',
  },
}
SCSS
$custom: #c229c2;
$custom-light: #d976d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c229c2",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.24295,
    "h": 328.1
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C229C2

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

Preview Lab → · Contrast checker → · Palette generator →

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