#C236C2#C236C2

#C236C2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.231 H 328.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C236C2
RGBrgb(194, 54, 194)
HSLhsl(300, 56%, 49%)
HSVhsv(300, 72%, 76%)
CMYKcmyk(0%, 72.2%, 0%, 23.9%)
CIE-LABlab(49.50, 70.16, -44.14)
CIE-LCHlch(49.50, 82.89, 327.82°)
OKLaboklab(59.51% 0.1958 -0.1223)
OKLCHoklch(59.51% 0.231 328)
XYZxyz(33.3045, 18.0051, 52.7497)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C236C2 #36C236
analogous
#7C36C2 #C236C2 #C2367C
triadic
#C236C2 #C2C236 #36C2C2
tetradic
#C236C2 #C27C36 #36C236 #367CC2
square
#C236C2 #C27C36 #36C236 #367CC2
split-complementary
#C236C2 #7CC236 #36C27C
monochromatic
#621B62 #922992 #C236C2 #D362D3 #E192E1

Accessibility & contrast

On white

4.56
#C236C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C236C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C236C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C236C2#FFFFFF#000000##000000
##C236C21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C84C79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c236c2;
/* rgb */ color: rgb(194, 54, 194);
/* oklch */ color: oklch(59.5% 0.231 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87bd5',
    500: '#c236c2',
    950: '#000000',
  },
}
SCSS
$custom: #c236c2;
$custom-light: #d87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c236c2",
  "rgb": {
    "r": 194,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.23081,
    "h": 328
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#C236C2
secondary
#88CC88
accent
#E04848
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C236C2

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

Preview Lab → · Contrast checker → · Palette generator →

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