#C238C3#C238C3

#C238C3 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.229 H 327.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C238C3
RGBrgb(194, 56, 195)
HSLhsl(300, 55%, 49%)
HSVhsv(300, 71%, 76%)
CMYKcmyk(0.5%, 71.3%, 0%, 23.5%)
CIE-LABlab(49.79, 69.67, -44.27)
CIE-LCHlch(49.79, 82.55, 327.57°)
OKLaboklab(59.73% 0.1939 -0.1227)
OKLCHoklch(59.73% 0.229 327.7)
XYZxyz(33.5122, 18.2402, 53.3748)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238C3 #39C338
analogous
#7D38C3 #C238C3 #C3387F
triadic
#C238C3 #C3C238 #38C3C2
tetradic
#C238C3 #C37D38 #39C338 #387FC3
square
#C238C3 #C37D38 #39C338 #387FC3
split-complementary
#C238C3 #7FC338 #38C37D
monochromatic
#631D64 #932A93 #C238C3 #D265D3 #E095E1

Accessibility & contrast

On white

4.52
#C238C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C238C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238C3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238C3#FFFFFF#000000##000000
##C238C31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#5C7DC0
Tritanopia (blue-blind)
#C84D7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c238c3;
/* rgb */ color: rgb(194, 56, 195);
/* oklch */ color: oklch(59.7% 0.229 327.7);
Tailwind
colors: {
  custom: {
    50: '#d87cd6',
    500: '#c238c3',
    950: '#000000',
  },
}
SCSS
$custom: #c238c3;
$custom-light: #d87cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c238c3",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 299.568,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.22946,
    "h": 327.7
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#C238C3
secondary
#8BCC8B
accent
#DF494A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C238C3

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

Preview Lab → · Contrast checker → · Palette generator →

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