#C230B5#C230B5

#C230B5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.227 H 332.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C230B5
RGBrgb(194, 48, 181)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 75.3%, 6.7%, 23.9%)
CIE-LABlab(48.16, 69.99, -38.69)
CIE-LCHlch(48.16, 79.97, 331.07°)
OKLaboklab(58.33% 0.2009 -0.1064)
OKLCHoklch(58.33% 0.227 332.1)
XYZxyz(31.6457, 16.9221, 45.3067)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B5 #30C23D
analogous
#8630C2 #C230B5 #C2306C
triadic
#C230B5 #B5C230 #30B5C2
tetradic
#C230B5 #C28630 #30C23D #306CC2
square
#C230B5 #C28630 #30C23D #306CC2
split-complementary
#C230B5 #6CC230 #30C286
monochromatic
#601859 #912487 #C230B5 #D659CB #E28ADA

Accessibility & contrast

On white

4.79
#C230B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C230B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B5#FFFFFF#000000##FFFFFF
##C230B51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B9
Deuteranopia (green-blind)
#6179B2
Tritanopia (blue-blind)
#CA4170
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c230b5;
/* rgb */ color: rgb(194, 48, 181);
/* oklch */ color: oklch(58.3% 0.227 332.1);
Tailwind
colors: {
  custom: {
    50: '#d878cb',
    500: '#c230b5',
    950: '#000000',
  },
}
SCSS
$custom: #c230b5;
$custom-light: #d878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b5",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 305.342,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.22734,
    "h": 332.1
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#C230B5
secondary
#82CC88
accent
#E35244
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B5

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

Preview Lab → · Contrast checker → · Palette generator →

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