#C235AF#C235AF

#C235AF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.218 H 334.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C235AF
RGBrgb(194, 53, 175)
HSLhsl(308, 57%, 48%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 72.7%, 9.8%, 23.9%)
CIE-LABlab(48.40, 67.53, -34.79)
CIE-LCHlch(48.40, 75.97, 332.75°)
OKLaboklab(58.4% 0.196 -0.0952)
OKLCHoklch(58.4% 0.218 334.1)
XYZxyz(31.2594, 17.1134, 42.2060)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C235AF #35C248
analogous
#8E35C2 #C235AF #C23568
triadic
#C235AF #AFC235 #35AFC2
tetradic
#C235AF #C28E35 #35C248 #3568C2
square
#C235AF #C28E35 #35C248 #3568C2
split-complementary
#C235AF #68C235 #35C28E
monochromatic
#621B58 #922884 #C235AF #D460C4 #E191D6

Accessibility & contrast

On white

4.75
#C235AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C235AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C235AF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C235AF#FFFFFF#000000##FFFFFF
##C235AF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c235af;
/* rgb */ color: rgb(194, 53, 175);
/* oklch */ color: oklch(58.4% 0.218 334.1);
Tailwind
colors: {
  custom: {
    50: '#d87ac7',
    500: '#c235af',
    950: '#000000',
  },
}
SCSS
$custom: #c235af;
$custom-light: #d87ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#c235af",
  "rgb": {
    "r": 194,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 308.085,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.21793,
    "h": 334.1
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#C235AF
secondary
#87CC90
accent
#E05C47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C235AF

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

Preview Lab → · Contrast checker → · Palette generator →

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