#C239B2#C239B2

#C239B2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.216 H 333.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C239B2
RGBrgb(194, 57, 178)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 70.6%, 8.2%, 23.9%)
CIE-LABlab(49.02, 66.65, -35.57)
CIE-LCHlch(49.02, 75.55, 331.91°)
OKLaboklab(58.89% 0.1923 -0.0975)
OKLCHoklch(58.89% 0.216 333.1)
XYZxyz(31.7473, 17.6126, 43.8384)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239B2 #39C249
analogous
#8E39C2 #C239B2 #C2396E
triadic
#C239B2 #B2C239 #39B2C2
tetradic
#C239B2 #C28E39 #39C249 #396EC2
square
#C239B2 #C28E39 #39C249 #396EC2
split-complementary
#C239B2 #6EC239 #39C28E
monochromatic
#631D5B #932B87 #C239B2 #D266C5 #E095D7

Accessibility & contrast

On white

4.64
#C239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C239B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C239B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239B2#FFFFFF#000000##FFFFFF
##C239B21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#667BAF
Tritanopia (blue-blind)
#CB4671
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c239b2;
/* rgb */ color: rgb(194, 57, 178);
/* oklch */ color: oklch(58.9% 0.216 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87cc9',
    500: '#c239b2',
    950: '#000000',
  },
}
SCSS
$custom: #c239b2;
$custom-light: #d87cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c239b2",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 307.007,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.21563,
    "h": 333.1
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#C239B2
secondary
#8BCB93
accent
#DE5B4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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