#C238CD#C238CD

#C238CD is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.237 H 324.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C238CD
RGBrgb(194, 56, 205)
HSLhsl(296, 60%, 51%)
HSVhsv(296, 73%, 80%)
CMYKcmyk(5.4%, 72.7%, 0%, 19.6%)
CIE-LABlab(50.34, 71.33, -49.15)
CIE-LCHlch(50.34, 86.62, 325.43°)
OKLaboklab(60.31% 0.1937 -0.1369)
OKLCHoklch(60.31% 0.237 324.8)
XYZxyz(34.6809, 18.7077, 59.5300)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238CD #43CD38
analogous
#7738CD #C238CD #CD388E
triadic
#C238CD #CDC238 #38CDC2
tetradic
#C238CD #CD7738 #43CD38 #388ECD
square
#C238CD #CD7738 #43CD38 #388ECD
split-complementary
#C238CD #8ECD38 #38CD77
monochromatic
#691C6F #9728A0 #C238CD #D169D9 #E09AE6

Accessibility & contrast

On white

4.43
#C238CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C238CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238CD#FFFFFF#000000##000000
##C238CD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#C65280
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c238cd;
/* rgb */ color: rgb(194, 56, 205);
/* oklch */ color: oklch(60.3% 0.237 324.8);
Tailwind
colors: {
  custom: {
    50: '#d87cdd',
    500: '#c238cd',
    950: '#000000',
  },
}
SCSS
$custom: #c238cd;
$custom-light: #d87cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c238cd",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 295.57,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.2372,
    "h": 324.8
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#C238CD
secondary
#94D18F
accent
#E34550
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C238CD

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

Preview Lab → · Contrast checker → · Palette generator →

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