#C239B7#C239B7

#C239B7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.219 H 331.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C239B7
RGBrgb(194, 57, 183)
HSLhsl(305, 55%, 49%)
HSVhsv(305, 71%, 76%)
CMYKcmyk(0%, 70.6%, 5.7%, 23.9%)
CIE-LABlab(49.27, 67.42, -38.11)
CIE-LCHlch(49.27, 77.44, 330.52°)
OKLaboklab(59.16% 0.1926 -0.1048)
OKLCHoklch(59.16% 0.219 331.4)
XYZxyz(32.2585, 17.8170, 46.5306)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239B7 #39C244
analogous
#8939C2 #C239B7 #C23972
triadic
#C239B7 #B7C239 #39B7C2
tetradic
#C239B7 #C28939 #39C244 #3972C2
square
#C239B7 #C28939 #39C244 #3972C2
split-complementary
#C239B7 #72C239 #39C289
monochromatic
#631D5E #932B8A #C239B7 #D266C9 #E095DA

Accessibility & contrast

On white

4.60
#C239B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C239B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C239B7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239B7#FFFFFF#000000##FFFFFF
##C239B71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#CA4874
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c239b7;
/* rgb */ color: rgb(194, 57, 183);
/* oklch */ color: oklch(59.2% 0.219 331.4);
Tailwind
colors: {
  custom: {
    50: '#d87ccd',
    500: '#c239b7',
    950: '#000000',
  },
}
SCSS
$custom: #c239b7;
$custom-light: #d87ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#c239b7",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 304.818,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.2193,
    "h": 331.4
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#C239B7
secondary
#8BCB91
accent
#DE564A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C239B7

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

Preview Lab → · Contrast checker → · Palette generator →

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