#C257BA#C257BA

#C257BA is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.5% C 0.181 H 330.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C257BA
RGBrgb(194, 87, 186)
HSLhsl(304, 47%, 55%)
HSVhsv(304, 55%, 76%)
CMYKcmyk(0%, 55.2%, 4.1%, 23.9%)
CIE-LABlab(53.85, 55.66, -32.67)
CIE-LCHlch(53.85, 64.54, 329.59°)
OKLaboklab(62.53% 0.1577 -0.0894)
OKLCHoklch(62.53% 0.181 330.4)
XYZxyz(34.5190, 21.8331, 48.8409)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257BA #57C25F
analogous
#9457C2 #C257BA #C25784
triadic
#C257BA #BAC257 #57BAC2
tetradic
#C257BA #C29457 #57C25F #5784C2
square
#C257BA #C29457 #57C25F #5784C2
split-complementary
#C257BA #84C257 #57C294
monochromatic
#742A6F #A13B9A #C257BA #D284CC #E3B1DF

Accessibility & contrast

On white

3.91
#C257BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C257BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257BA#FFFFFF#000000##000000
##C257BA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#7286B7
Tritanopia (blue-blind)
#C96180
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c257ba;
/* rgb */ color: rgb(194, 87, 186);
/* oklch */ color: oklch(62.5% 0.181 330.4);
Tailwind
colors: {
  custom: {
    50: '#d78ccf',
    500: '#c257ba',
    950: '#000000',
  },
}
SCSS
$custom: #c257ba;
$custom-light: #d78ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c257ba",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 304.486,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.18125,
    "h": 330.4
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#C257BA
secondary
#A4D1A7
accent
#D65B51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C257BA

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

Preview Lab → · Contrast checker → · Palette generator →

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