#C239B4#C239B4

#C239B4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.217 H 332.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C239B4
RGBrgb(194, 57, 180)
HSLhsl(306, 55%, 49%)
HSVhsv(306, 71%, 76%)
CMYKcmyk(0%, 70.6%, 7.2%, 23.9%)
CIE-LABlab(49.12, 66.95, -36.59)
CIE-LCHlch(49.12, 76.30, 331.34°)
OKLaboklab(59% 0.1925 -0.1005)
OKLCHoklch(59% 0.217 332.4)
XYZxyz(31.9496, 17.6935, 44.9036)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239B4 #39C247
analogous
#8C39C2 #C239B4 #C23970
triadic
#C239B4 #B4C239 #39B4C2
tetradic
#C239B4 #C28C39 #39C247 #3970C2
square
#C239B4 #C28C39 #39C247 #3970C2
split-complementary
#C239B4 #70C239 #39C28C
monochromatic
#631D5C #932B88 #C239B4 #D266C7 #E095D8

Accessibility & contrast

On white

4.63
#C239B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C239B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C239B4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239B4#FFFFFF#000000##FFFFFF
##C239B41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#CA4772
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c239b4;
/* rgb */ color: rgb(194, 57, 180);
/* oklch */ color: oklch(59.0% 0.217 332.4);
Tailwind
colors: {
  custom: {
    50: '#d87ccb',
    500: '#c239b4',
    950: '#000000',
  },
}
SCSS
$custom: #c239b4;
$custom-light: #d87ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c239b4",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 306.131,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.21709,
    "h": 332.4
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#C239B4
secondary
#8BCB92
accent
#DE594A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C239B4

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

Preview Lab → · Contrast checker → · Palette generator →

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