#C238B9#C238B9

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

Color values

HEX#C238B9
RGBrgb(194, 56, 185)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 76%)
CMYKcmyk(0%, 71.1%, 4.6%, 23.9%)
CIE-LABlab(49.26, 68.07, -39.30)
CIE-LCHlch(49.26, 78.60, 330.00°)
OKLaboklab(59.18% 0.1937 -0.1083)
OKLCHoklch(59.18% 0.222 330.8)
XYZxyz(32.4192, 17.8030, 47.6184)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B9 #38C241
analogous
#8638C2 #C238B9 #C23874
triadic
#C238B9 #B9C238 #38B9C2
tetradic
#C238B9 #C28638 #38C241 #3874C2
square
#C238B9 #C28638 #38C241 #3874C2
split-complementary
#C238B9 #74C238 #38C286
monochromatic
#631D5E #932A8C #C238B9 #D265CB #E094DB

Accessibility & contrast

On white

4.61
#C238B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C238B9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B9#FFFFFF#000000##FFFFFF
##C238B91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#CA4975
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c238b9;
/* rgb */ color: rgb(194, 56, 185);
/* oklch */ color: oklch(59.2% 0.222 330.8);
Tailwind
colors: {
  custom: {
    50: '#d87cce',
    500: '#c238b9',
    950: '#000000',
  },
}
SCSS
$custom: #c238b9;
$custom-light: #d87cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b9",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 303.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.2219,
    "h": 330.8
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#C238B9
secondary
#8ACB8F
accent
#DF5349
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C238B9

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

Preview Lab → · Contrast checker → · Palette generator →

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