#C230B7#C230B7

#C230B7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.229 H 331.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C230B7
RGBrgb(194, 48, 183)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 75.3%, 5.7%, 23.9%)
CIE-LABlab(48.27, 70.29, -39.70)
CIE-LCHlch(48.27, 80.73, 330.55°)
OKLaboklab(58.43% 0.2009 -0.1094)
OKLCHoklch(58.43% 0.229 331.4)
XYZxyz(31.8523, 17.0047, 46.3952)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B7 #30C23B
analogous
#8430C2 #C230B7 #C2306E
triadic
#C230B7 #B7C230 #30B7C2
tetradic
#C230B7 #C28430 #30C23B #306EC2
square
#C230B7 #C28430 #30C23B #306EC2
split-complementary
#C230B7 #6EC230 #30C284
monochromatic
#60185A #912489 #C230B7 #D659CD #E28ADC

Accessibility & contrast

On white

4.77
#C230B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C230B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B7#FFFFFF#000000##FFFFFF
##C230B71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#CA4272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c230b7;
/* rgb */ color: rgb(194, 48, 183);
/* oklch */ color: oklch(58.4% 0.229 331.4);
Tailwind
colors: {
  custom: {
    50: '#d878cd',
    500: '#c230b7',
    950: '#000000',
  },
}
SCSS
$custom: #c230b7;
$custom-light: #d878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b7",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 304.521,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.22877,
    "h": 331.4
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#C230B7
secondary
#82CC87
accent
#E35044
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B7

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

Preview Lab → · Contrast checker → · Palette generator →

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