#C235B7#C235B7

#C235B7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.224 H 331.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C235B7
RGBrgb(194, 53, 183)
HSLhsl(305, 57%, 48%)
HSVhsv(305, 73%, 76%)
CMYKcmyk(0%, 72.7%, 5.7%, 23.9%)
CIE-LABlab(48.81, 68.75, -38.84)
CIE-LCHlch(48.81, 78.96, 330.53°)
OKLaboklab(58.82% 0.1965 -0.1069)
OKLCHoklch(58.82% 0.224 331.4)
XYZxyz(32.0685, 17.4370, 46.4673)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C235B7 #35C240
analogous
#8635C2 #C235B7 #C23570
triadic
#C235B7 #B7C235 #35B7C2
tetradic
#C235B7 #C28635 #35C240 #3570C2
square
#C235B7 #C28635 #35C240 #3570C2
split-complementary
#C235B7 #70C235 #35C286
monochromatic
#621B5C #92288A #C235B7 #D460CB #E191DB

Accessibility & contrast

On white

4.68
#C235B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C235B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C235B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C235B7#FFFFFF#000000##FFFFFF
##C235B71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BB
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#CA4673
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c235b7;
/* rgb */ color: rgb(194, 53, 183);
/* oklch */ color: oklch(58.8% 0.224 331.4);
Tailwind
colors: {
  custom: {
    50: '#d87acd',
    500: '#c235b7',
    950: '#000000',
  },
}
SCSS
$custom: #c235b7;
$custom-light: #d87acd;
$custom-dark: #000000;
JSON
{
  "hex": "#c235b7",
  "rgb": {
    "r": 194,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 304.681,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.22368,
    "h": 331.4
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#C235B7
secondary
#87CC8D
accent
#E05347
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C235B7

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

Preview Lab → · Contrast checker → · Palette generator →

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