#C239C2#C239C2

#C239C2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.228 H 328.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C239C2
RGBrgb(194, 57, 194)
HSLhsl(300, 55%, 49%)
HSVhsv(300, 71%, 76%)
CMYKcmyk(0%, 70.6%, 0%, 23.9%)
CIE-LABlab(49.85, 69.17, -43.59)
CIE-LCHlch(49.85, 81.76, 327.78°)
OKLaboklab(59.76% 0.193 -0.1207)
OKLCHoklch(59.76% 0.228 328)
XYZxyz(33.4484, 18.2930, 52.7977)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C239C2 #39C239
analogous
#7E39C2 #C239C2 #C2397E
triadic
#C239C2 #C2C239 #39C2C2
tetradic
#C239C2 #C27E39 #39C239 #397EC2
square
#C239C2 #C27E39 #39C239 #397EC2
split-complementary
#C239C2 #7EC239 #39C27E
monochromatic
#631D63 #932B93 #C239C2 #D266D2 #E095E0

Accessibility & contrast

On white

4.51
#C239C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C239C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C239C2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C239C2#FFFFFF#000000##000000
##C239C21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#C84E7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c239c2;
/* rgb */ color: rgb(194, 57, 194);
/* oklch */ color: oklch(59.8% 0.228 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87cd5',
    500: '#c239c2',
    950: '#000000',
  },
}
SCSS
$custom: #c239c2;
$custom-light: #d87cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c239c2",
  "rgb": {
    "r": 194,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.2276,
    "h": 328
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#C239C2
secondary
#8BCB8B
accent
#DE4A4A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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