#C238AD#C238AD

#C238AD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.213 H 334.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C238AD
RGBrgb(194, 56, 173)
HSLhsl(309, 55%, 49%)
HSVhsv(309, 71%, 76%)
CMYKcmyk(0%, 71.1%, 10.8%, 23.9%)
CIE-LABlab(48.66, 66.24, -33.21)
CIE-LCHlch(48.66, 74.10, 333.37°)
OKLaboklab(58.55% 0.1929 -0.0907)
OKLCHoklch(58.55% 0.213 334.8)
XYZxyz(31.2055, 17.3175, 41.2262)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238AD #38C24D
analogous
#9238C2 #C238AD #C23868
triadic
#C238AD #ADC238 #38ADC2
tetradic
#C238AD #C29238 #38C24D #3868C2
square
#C238AD #C29238 #38C24D #3868C2
split-complementary
#C238AD #68C238 #38C292
monochromatic
#631D58 #932A83 #C238AD #D265C2 #E094D5

Accessibility & contrast

On white

4.71
#C238AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C238AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C238AD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238AD#FFFFFF#000000##FFFFFF
##C238AD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B0
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#CB436E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c238ad;
/* rgb */ color: rgb(194, 56, 173);
/* oklch */ color: oklch(58.6% 0.213 334.8);
Tailwind
colors: {
  custom: {
    50: '#d87bc6',
    500: '#c238ad',
    950: '#000000',
  },
}
SCSS
$custom: #c238ad;
$custom-light: #d87bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c238ad",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 309.13,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.21319,
    "h": 334.8
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#C238AD
secondary
#8ACB94
accent
#DF6049
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238AD

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

Preview Lab → · Contrast checker → · Palette generator →

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