#C23BC7#C23BC7

#C23BC7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.229 H 326.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C23BC7
RGBrgb(194, 59, 199)
HSLhsl(298, 56%, 51%)
HSVhsv(298, 70%, 78%)
CMYKcmyk(2.5%, 70.4%, 0%, 22%)
CIE-LABlab(50.36, 69.31, -45.67)
CIE-LCHlch(50.36, 83.01, 326.62°)
OKLaboklab(60.21% 0.191 -0.1268)
OKLCHoklch(60.21% 0.229 326.4)
XYZxyz(34.1203, 18.7231, 55.8385)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23BC7 #40C73B
analogous
#7C3BC7 #C23BC7 #C73B86
triadic
#C23BC7 #C7C23B #3BC7C2
tetradic
#C23BC7 #C77C3B #40C73B #3B86C7
square
#C23BC7 #C77C3B #40C73B #3B86C7
split-complementary
#C23BC7 #86C73B #3BC77C
monochromatic
#671E69 #952C99 #C23BC7 #D16BD5 #E09AE2

Accessibility & contrast

On white

4.43
#C23BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C23BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23BC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23BC7#FFFFFF#000000##000000
##C23BC71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#5B7EC3
Tritanopia (blue-blind)
#C7517D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23bc7;
/* rgb */ color: rgb(194, 59, 199);
/* oklch */ color: oklch(60.2% 0.229 326.4);
Tailwind
colors: {
  custom: {
    50: '#d87dd8',
    500: '#c23bc7',
    950: '#000000',
  },
}
SCSS
$custom: #c23bc7;
$custom-light: #d87dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c23bc7",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 297.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.22927,
    "h": 326.4
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#C23BC7
secondary
#92CE90
accent
#DF494E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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