#C230B1#C230B1

#C230B1 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.225 H 333.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C230B1
RGBrgb(194, 48, 177)
HSLhsl(307, 60%, 47%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 75.3%, 8.8%, 23.9%)
CIE-LABlab(47.96, 69.39, -36.66)
CIE-LCHlch(47.96, 78.48, 332.15°)
OKLaboklab(58.11% 0.2007 -0.1006)
OKLCHoklch(58.11% 0.225 333.4)
XYZxyz(31.2411, 16.7603, 43.1761)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B1 #30C241
analogous
#8A30C2 #C230B1 #C23068
triadic
#C230B1 #B1C230 #30B1C2
tetradic
#C230B1 #C28A30 #30C241 #3068C2
square
#C230B1 #C28A30 #30C241 #3068C2
split-complementary
#C230B1 #68C230 #30C28A
monochromatic
#601857 #912484 #C230B1 #D659C7 #E28AD8

Accessibility & contrast

On white

4.83
#C230B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C230B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B1#FFFFFF#000000##FFFFFF
##C230B11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#CB3F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c230b1;
/* rgb */ color: rgb(194, 48, 177);
/* oklch */ color: oklch(58.1% 0.225 333.4);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c230b1',
    950: '#000000',
  },
}
SCSS
$custom: #c230b1;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b1",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 306.986,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.22452,
    "h": 333.4
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#C230B1
secondary
#82CC8A
accent
#E35744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B1

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

Preview Lab → · Contrast checker → · Palette generator →

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