#C239B8#C239B8

#C239B8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.220 H 331.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C239B8
RGBrgb(194, 57, 184)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 76%)
CMYKcmyk(0%, 70.6%, 5.2%, 23.9%)
CIE-LABlab(49.32, 67.57, -38.61)
CIE-LCHlch(49.32, 77.83, 330.26°)
OKLaboklab(59.21% 0.1927 -0.1063)
OKLCHoklch(59.21% 0.22 331.1)
XYZxyz(32.3629, 17.8588, 47.0807)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239B8 #39C243
analogous
#8839C2 #C239B8 #C23973
triadic
#C239B8 #B8C239 #39B8C2
tetradic
#C239B8 #C28839 #39C243 #3973C2
square
#C239B8 #C28839 #39C243 #3973C2
split-complementary
#C239B8 #73C239 #39C288
monochromatic
#631D5E #932B8B #C239B8 #D266CA #E095DB

Accessibility & contrast

On white

4.59
#C239B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C239B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C239B8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239B8#FFFFFF#000000##FFFFFF
##C239B81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BC
Deuteranopia (green-blind)
#637CB5
Tritanopia (blue-blind)
#CA4975
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c239b8;
/* rgb */ color: rgb(194, 57, 184);
/* oklch */ color: oklch(59.2% 0.220 331.1);
Tailwind
colors: {
  custom: {
    50: '#d87cce',
    500: '#c239b8',
    950: '#000000',
  },
}
SCSS
$custom: #c239b8;
$custom-light: #d87cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c239b8",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 304.38,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.22004,
    "h": 331.1
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#C239B8
secondary
#8BCB90
accent
#DE554A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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