#C238B6#C238B6

#C238B6 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.220 H 331.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C238B6
RGBrgb(194, 56, 182)
HSLhsl(305, 55%, 49%)
HSVhsv(305, 71%, 76%)
CMYKcmyk(0%, 71.1%, 6.2%, 23.9%)
CIE-LABlab(49.10, 67.60, -37.79)
CIE-LCHlch(49.10, 77.45, 330.79°)
OKLaboklab(59.02% 0.1936 -0.1039)
OKLCHoklch(59.02% 0.22 331.8)
XYZxyz(32.1058, 17.6777, 45.9681)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238B6 #38C244
analogous
#8938C2 #C238B6 #C23871
triadic
#C238B6 #B6C238 #38B6C2
tetradic
#C238B6 #C28938 #38C244 #3871C2
square
#C238B6 #C28938 #38C244 #3871C2
split-complementary
#C238B6 #71C238 #38C289
monochromatic
#631D5D #932A89 #C238B6 #D265C9 #E094DA

Accessibility & contrast

On white

4.63
#C238B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C238B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C238B6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238B6#FFFFFF#000000##FFFFFF
##C238B61.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68BA
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#CA4773
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c238b6;
/* rgb */ color: rgb(194, 56, 182);
/* oklch */ color: oklch(59.0% 0.220 331.8);
Tailwind
colors: {
  custom: {
    50: '#d87bcc',
    500: '#c238b6',
    950: '#000000',
  },
}
SCSS
$custom: #c238b6;
$custom-light: #d87bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#c238b6",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 305.217,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.21968,
    "h": 331.8
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

primary
#C238B6
secondary
#8ACB90
accent
#DF5649
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C238B6

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

Preview Lab → · Contrast checker → · Palette generator →

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