#C234AF#C234AF

#C234AF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.219 H 334.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C234AF
RGBrgb(194, 52, 175)
HSLhsl(308, 58%, 48%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 73.2%, 9.8%, 23.9%)
CIE-LABlab(48.29, 67.86, -34.97)
CIE-LCHlch(48.29, 76.33, 332.74°)
OKLaboklab(58.32% 0.197 -0.0957)
OKLCHoklch(58.32% 0.219 334.1)
XYZxyz(31.2143, 17.0232, 42.1910)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C234AF #34C247
analogous
#8E34C2 #C234AF #C23468
triadic
#C234AF #AFC234 #34AFC2
tetradic
#C234AF #C28E34 #34C247 #3468C2
square
#C234AF #C28E34 #34C247 #3468C2
split-complementary
#C234AF #68C234 #34C28E
monochromatic
#611A58 #922783 #C234AF #D45FC4 #E18FD6

Accessibility & contrast

On white

4.77
#C234AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C234AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C234AF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C234AF#FFFFFF#000000##FFFFFF
##C234AF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#CB416E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c234af;
/* rgb */ color: rgb(194, 52, 175);
/* oklch */ color: oklch(58.3% 0.219 334.1);
Tailwind
colors: {
  custom: {
    50: '#d879c7',
    500: '#c234af',
    950: '#000000',
  },
}
SCSS
$custom: #c234af;
$custom-light: #d879c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c234af",
  "rgb": {
    "r": 194,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 308.028,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.21901,
    "h": 334.1
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#C234AF
secondary
#86CC8F
accent
#E15B47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C234AF

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

Preview Lab → · Contrast checker → · Palette generator →

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