#C238BD#C238BD

#C238BD is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.225 H 329.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C238BD
RGBrgb(194, 56, 189)
HSLhsl(302, 55%, 49%)
HSVhsv(302, 71%, 76%)
CMYKcmyk(0%, 71.1%, 2.6%, 23.9%)
CIE-LABlab(49.46, 68.70, -41.30)
CIE-LCHlch(49.46, 80.16, 328.99°)
OKLaboklab(59.4% 0.1938 -0.1141)
OKLCHoklch(59.4% 0.225 329.5)
XYZxyz(32.8474, 17.9743, 49.8736)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238BD #38C23D
analogous
#8238C2 #C238BD #C23878
triadic
#C238BD #BDC238 #38BDC2
tetradic
#C238BD #C28238 #38C23D #3878C2
square
#C238BD #C28238 #38C23D #3878C2
split-complementary
#C238BD #78C238 #38C282
monochromatic
#631D60 #932A8F #C238BD #D265CE #E094DD

Accessibility & contrast

On white

4.57
#C238BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C238BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238BD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238BD#FFFFFF#000000##000000
##C238BD1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#C94B77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c238bd;
/* rgb */ color: rgb(194, 56, 189);
/* oklch */ color: oklch(59.4% 0.225 329.5);
Tailwind
colors: {
  custom: {
    50: '#d87cd1',
    500: '#c238bd',
    950: '#000000',
  },
}
SCSS
$custom: #c238bd;
$custom-light: #d87cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c238bd",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 302.174,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.22489,
    "h": 329.5
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#C238BD
secondary
#8ACB8D
accent
#DF4F49
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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