#C236B8#C236B8

#C236B8 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.223 H 331.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C236B8
RGBrgb(194, 54, 184)
HSLhsl(304, 56%, 49%)
HSVhsv(304, 72%, 76%)
CMYKcmyk(0%, 72.2%, 5.2%, 23.9%)
CIE-LABlab(48.97, 68.58, -39.17)
CIE-LCHlch(48.97, 78.97, 330.27°)
OKLaboklab(58.96% 0.1956 -0.1079)
OKLCHoklch(58.96% 0.223 331.1)
XYZxyz(32.2190, 17.5709, 47.0327)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C236B8 #36C240
analogous
#8636C2 #C236B8 #C23672
triadic
#C236B8 #B8C236 #36B8C2
tetradic
#C236B8 #C28636 #36C240 #3672C2
square
#C236B8 #C28636 #36C240 #3672C2
split-complementary
#C236B8 #72C236 #36C286
monochromatic
#621B5D #92298B #C236B8 #D362CB #E192DB

Accessibility & contrast

On white

4.65
#C236B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C236B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C236B8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C236B8#FFFFFF#000000##FFFFFF
##C236B81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#CA4774
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c236b8;
/* rgb */ color: rgb(194, 54, 184);
/* oklch */ color: oklch(59.0% 0.223 331.1);
Tailwind
colors: {
  custom: {
    50: '#d87bce',
    500: '#c236b8',
    950: '#000000',
  },
}
SCSS
$custom: #c236b8;
$custom-light: #d87bce;
$custom-dark: #000000;
JSON
{
  "hex": "#c236b8",
  "rgb": {
    "r": 194,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 304.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.22335,
    "h": 331.1
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#C236B8
secondary
#88CC8D
accent
#E05348
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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