#C235BA#C235BA

#C235BA is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.226 H 330.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C235BA
RGBrgb(194, 53, 186)
HSLhsl(303, 57%, 48%)
HSVhsv(303, 73%, 76%)
CMYKcmyk(0%, 72.7%, 4.1%, 23.9%)
CIE-LABlab(48.96, 69.21, -40.35)
CIE-LCHlch(48.96, 80.11, 329.76°)
OKLaboklab(58.98% 0.1966 -0.1113)
OKLCHoklch(58.98% 0.226 330.5)
XYZxyz(32.3841, 17.5632, 48.1293)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C235BA #35C23D
analogous
#8335C2 #C235BA #C23573
triadic
#C235BA #BAC235 #35BAC2
tetradic
#C235BA #C28335 #35C23D #3573C2
square
#C235BA #C28335 #35C23D #3573C2
split-complementary
#C235BA #73C235 #35C283
monochromatic
#621B5E #92288C #C235BA #D460CD #E191DC

Accessibility & contrast

On white

4.65
#C235BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C235BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C235BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C235BA#FFFFFF#000000##FFFFFF
##C235BA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#C94775
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c235ba;
/* rgb */ color: rgb(194, 53, 186);
/* oklch */ color: oklch(59.0% 0.226 330.5);
Tailwind
colors: {
  custom: {
    50: '#d87acf',
    500: '#c235ba',
    950: '#000000',
  },
}
SCSS
$custom: #c235ba;
$custom-light: #d87acf;
$custom-dark: #000000;
JSON
{
  "hex": "#c235ba",
  "rgb": {
    "r": 194,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 303.404,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58983,
    "c": 0.22588,
    "h": 330.5
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#C235BA
secondary
#87CC8B
accent
#E05047
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C235BA

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

Preview Lab → · Contrast checker → · Palette generator →

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