#C234AB#C234AB

#C234AB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.216 H 335.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C234AB
RGBrgb(194, 52, 171)
HSLhsl(310, 58%, 48%)
HSVhsv(310, 73%, 76%)
CMYKcmyk(0%, 73.2%, 11.9%, 23.9%)
CIE-LABlab(48.09, 67.27, -32.92)
CIE-LCHlch(48.09, 74.89, 333.93°)
OKLaboklab(58.11% 0.1967 -0.0899)
OKLCHoklch(58.11% 0.216 335.4)
XYZxyz(30.8272, 16.8683, 40.1525)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C234AB #34C24B
analogous
#9234C2 #C234AB #C23464
triadic
#C234AB #ABC234 #34ABC2
tetradic
#C234AB #C29234 #34C24B #3464C2
square
#C234AB #C29234 #34C24B #3464C2
split-complementary
#C234AB #64C234 #34C292
monochromatic
#611A56 #922780 #C234AB #D45FC1 #E18FD4

Accessibility & contrast

On white

4.80
#C234AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C234AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C234AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C234AB#FFFFFF#000000##FFFFFF
##C234AB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#CC3F6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c234ab;
/* rgb */ color: rgb(194, 52, 171);
/* oklch */ color: oklch(58.1% 0.216 335.4);
Tailwind
colors: {
  custom: {
    50: '#d879c4',
    500: '#c234ab',
    950: '#000000',
  },
}
SCSS
$custom: #c234ab;
$custom-light: #d879c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c234ab",
  "rgb": {
    "r": 194,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 309.718,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.21621,
    "h": 335.4
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#C234AB
secondary
#86CC91
accent
#E16047
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C234AB

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

Preview Lab → · Contrast checker → · Palette generator →

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