#C238C9#C238C9

#C238C9 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.234 H 325.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C238C9
RGBrgb(194, 56, 201)
HSLhsl(297, 57%, 50%)
HSVhsv(297, 72%, 79%)
CMYKcmyk(3.5%, 72.1%, 0%, 21.2%)
CIE-LABlab(50.12, 70.66, -47.21)
CIE-LCHlch(50.12, 84.98, 326.25°)
OKLaboklab(60.07% 0.1938 -0.1312)
OKLCHoklch(60.07% 0.234 325.9)
XYZxyz(34.2042, 18.5170, 57.0196)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238C9 #3FC938
analogous
#7938C9 #C238C9 #C93888
triadic
#C238C9 #C9C238 #38C9C2
tetradic
#C238C9 #C97938 #3FC938 #3888C9
square
#C238C9 #C97938 #3FC938 #3888C9
split-complementary
#C238C9 #88C938 #38C979
monochromatic
#661D6A #952A9A #C238C9 #D168D6 #E098E3

Accessibility & contrast

On white

4.47
#C238C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C238C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238C9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238C9#FFFFFF#000000##000000
##C238C91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6CCD
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#C7507E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c238c9;
/* rgb */ color: rgb(194, 56, 201);
/* oklch */ color: oklch(60.1% 0.234 325.9);
Tailwind
colors: {
  custom: {
    50: '#d87cda',
    500: '#c238c9',
    950: '#000000',
  },
}
SCSS
$custom: #c238c9;
$custom-light: #d87cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c238c9",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 297.103,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.23408,
    "h": 325.9
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#C238C9
secondary
#91CF8E
accent
#E1474F
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C238C9

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

Preview Lab → · Contrast checker → · Palette generator →

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