#C234C2#C234C2

#C234C2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.233 H 328.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C234C2
RGBrgb(194, 52, 194)
HSLhsl(300, 58%, 48%)
HSVhsv(300, 73%, 76%)
CMYKcmyk(0%, 73.2%, 0%, 23.9%)
CIE-LABlab(49.28, 70.80, -44.50)
CIE-LCHlch(49.28, 83.62, 327.85°)
OKLaboklab(59.35% 0.1975 -0.1233)
OKLCHoklch(59.35% 0.233 328)
XYZxyz(33.2133, 17.8228, 52.7193)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C234C2 #34C234
analogous
#7B34C2 #C234C2 #C2347B
triadic
#C234C2 #C2C234 #34C2C2
tetradic
#C234C2 #C27B34 #34C234 #347BC2
square
#C234C2 #C27B34 #34C234 #347BC2
split-complementary
#C234C2 #7BC234 #34C27B
monochromatic
#611A61 #922792 #C234C2 #D45FD4 #E18FE1

Accessibility & contrast

On white

4.60
#C234C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C234C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C234C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C234C2#FFFFFF#000000##FFFFFF
##C234C21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#C84A79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c234c2;
/* rgb */ color: rgb(194, 52, 194);
/* oklch */ color: oklch(59.3% 0.233 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87ad5',
    500: '#c234c2',
    950: '#000000',
  },
}
SCSS
$custom: #c234c2;
$custom-light: #d87ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#c234c2",
  "rgb": {
    "r": 194,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.23287,
    "h": 328
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#C234C2
secondary
#86CC86
accent
#E14747
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C234C2

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

Preview Lab → · Contrast checker → · Palette generator →

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