#C23AB7#C23AB7

#C23AB7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.218 H 331.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C23AB7
RGBrgb(194, 58, 183)
HSLhsl(305, 54%, 49%)
HSVhsv(305, 70%, 76%)
CMYKcmyk(0%, 70.1%, 5.7%, 23.9%)
CIE-LABlab(49.40, 67.07, -37.91)
CIE-LCHlch(49.40, 77.05, 330.52°)
OKLaboklab(59.24% 0.1916 -0.1043)
OKLCHoklch(59.24% 0.218 331.4)
XYZxyz(32.3084, 17.9169, 46.5472)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AB7 #3AC245
analogous
#893AC2 #C23AB7 #C23A73
triadic
#C23AB7 #B7C23A #3AB7C2
tetradic
#C23AB7 #C2893A #3AC245 #3A73C2
square
#C23AB7 #C2893A #3AC245 #3A73C2
split-complementary
#C23AB7 #73C23A #3AC289
monochromatic
#641E5E #932C8B #C23AB7 #D267C9 #E097DA

Accessibility & contrast

On white

4.58
#C23AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C23AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23AB7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AB7#FFFFFF#000000##000000
##C23AB71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3069BB
Deuteranopia (green-blind)
#647CB4
Tritanopia (blue-blind)
#CA4974
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23ab7;
/* rgb */ color: rgb(194, 58, 183);
/* oklch */ color: oklch(59.2% 0.218 331.4);
Tailwind
colors: {
  custom: {
    50: '#d87ccd',
    500: '#c23ab7',
    950: '#000000',
  },
}
SCSS
$custom: #c23ab7;
$custom-light: #d87ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ab7",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 304.853,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.21816,
    "h": 331.4
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#C23AB7
secondary
#8DCB92
accent
#DD564A
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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