#C247BA#C247BA

#C247BA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.204 H 330.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C247BA
RGBrgb(194, 71, 186)
HSLhsl(304, 50%, 52%)
HSVhsv(304, 63%, 76%)
CMYKcmyk(0%, 63.4%, 4.1%, 23.9%)
CIE-LABlab(51.29, 62.65, -36.67)
CIE-LCHlch(51.29, 72.59, 329.66°)
OKLaboklab(60.67% 0.1777 -0.1008)
OKLCHoklch(60.67% 0.204 330.4)
XYZxyz(33.3641, 19.5234, 48.4560)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C247BA #47C24F
analogous
#8C47C2 #C247BA #C2477D
triadic
#C247BA #BAC247 #47BAC2
tetradic
#C247BA #C28C47 #47C24F #477DC2
square
#C247BA #C28C47 #47C24F #477DC2
split-complementary
#C247BA #7DC247 #47C28C
monochromatic
#6B2466 #993392 #C247BA #D175CB #E0A3DC

Accessibility & contrast

On white

4.28
#C247BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C247BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C247BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C247BA#FFFFFF#000000##000000
##C247BA1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBD
Deuteranopia (green-blind)
#6980B7
Tritanopia (blue-blind)
#C9547A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c247ba;
/* rgb */ color: rgb(194, 71, 186);
/* oklch */ color: oklch(60.7% 0.204 330.4);
Tailwind
colors: {
  custom: {
    50: '#d883cf',
    500: '#c247ba',
    950: '#000000',
  },
}
SCSS
$custom: #c247ba;
$custom-light: #d883cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c247ba",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 303.902,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.2043,
    "h": 330.4
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#C247BA
secondary
#97CD9B
accent
#DA574E
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C247BA

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

Preview Lab → · Contrast checker → · Palette generator →

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