#C239B1#C239B1

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

Color values

HEX#C239B1
RGBrgb(194, 57, 177)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 70.6%, 8.8%, 23.9%)
CIE-LABlab(48.97, 66.49, -35.06)
CIE-LCHlch(48.97, 75.17, 332.20°)
OKLaboklab(58.84% 0.1922 -0.0961)
OKLCHoklch(58.84% 0.215 333.4)
XYZxyz(31.6473, 17.5726, 43.3115)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239B1 #39C24A
analogous
#8F39C2 #C239B1 #C2396D
triadic
#C239B1 #B1C239 #39B1C2
tetradic
#C239B1 #C28F39 #39C24A #396DC2
square
#C239B1 #C28F39 #39C24A #396DC2
split-complementary
#C239B1 #6DC239 #39C28F
monochromatic
#631D5B #932B86 #C239B1 #D266C5 #E095D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C239B1#FFFFFF#000000##FFFFFF
##C239B11.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)
#3568B4
Deuteranopia (green-blind)
#667BAE
Tritanopia (blue-blind)
#CB4671
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c239b1;
/* rgb */ color: rgb(194, 57, 177);
/* oklch */ color: oklch(58.8% 0.215 333.4);
Tailwind
colors: {
  custom: {
    50: '#d87cc8',
    500: '#c239b1',
    950: '#000000',
  },
}
SCSS
$custom: #c239b1;
$custom-light: #d87cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c239b1",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 307.445,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.21491,
    "h": 333.4
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C239B1

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

Preview Lab → · Contrast checker → · Palette generator →

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