#C236B2#C236B2

#C236B2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.219 H 333.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C236B2
RGBrgb(194, 54, 178)
HSLhsl(307, 56%, 49%)
HSVhsv(307, 72%, 76%)
CMYKcmyk(0%, 72.2%, 8.2%, 23.9%)
CIE-LABlab(48.67, 67.66, -36.13)
CIE-LCHlch(48.67, 76.70, 331.89°)
OKLaboklab(58.64% 0.1953 -0.0991)
OKLCHoklch(58.64% 0.219 333.1)
XYZxyz(31.6034, 17.3247, 43.7904)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C236B2 #36C246
analogous
#8C36C2 #C236B2 #C2366C
triadic
#C236B2 #B2C236 #36B2C2
tetradic
#C236B2 #C28C36 #36C246 #366CC2
square
#C236B2 #C28C36 #36C246 #366CC2
split-complementary
#C236B2 #6CC236 #36C28C
monochromatic
#621B5A #922986 #C236B2 #D362C6 #E192D8

Accessibility & contrast

On white

4.70
#C236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C236B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C236B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C236B2#FFFFFF#000000##FFFFFF
##C236B21.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#CB4470
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c236b2;
/* rgb */ color: rgb(194, 54, 178);
/* oklch */ color: oklch(58.6% 0.219 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87ac9',
    500: '#c236b2',
    950: '#000000',
  },
}
SCSS
$custom: #c236b2;
$custom-light: #d87ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c236b2",
  "rgb": {
    "r": 194,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 306.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.21898,
    "h": 333.1
  },
  "luminance": 0.17322
}

Semantic roles & 50–950 ramp

primary
#C236B2
secondary
#88CC90
accent
#E05948
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C236B2

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

Preview Lab → · Contrast checker → · Palette generator →

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