#C256B2#C256B2

#C256B2 is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.0% C 0.176 H 333.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C256B2
RGBrgb(194, 86, 178)
HSLhsl(309, 47%, 55%)
HSVhsv(309, 56%, 76%)
CMYKcmyk(0%, 55.7%, 8.2%, 23.9%)
CIE-LABlab(53.32, 54.78, -28.86)
CIE-LCHlch(53.32, 61.92, 332.22°)
OKLaboklab(62.03% 0.1577 -0.0785)
OKLCHoklch(62.03% 0.176 333.5)
XYZxyz(33.6118, 21.3416, 44.4599)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256B2 #56C266
analogous
#9C56C2 #C256B2 #C2567C
triadic
#C256B2 #B2C256 #56B2C2
tetradic
#C256B2 #C29C56 #56C266 #567CC2
square
#C256B2 #C29C56 #56C266 #567CC2
split-complementary
#C256B2 #7CC256 #56C29C
monochromatic
#742A69 #A13A92 #C256B2 #D283C6 #E2B0DB

Accessibility & contrast

On white

3.99
#C256B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C256B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256B2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256B2#FFFFFF#000000##000000
##C256B21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#CA5D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c256b2;
/* rgb */ color: rgb(194, 86, 178);
/* oklch */ color: oklch(62.0% 0.176 333.5);
Tailwind
colors: {
  custom: {
    50: '#d78bc9',
    500: '#c256b2',
    950: '#000000',
  },
}
SCSS
$custom: #c256b2;
$custom-light: #d78bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c256b2",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 308.889,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62028,
    "c": 0.1762,
    "h": 333.5
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#C256B2
secondary
#A3D1AA
accent
#D76551
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C256B2

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

Preview Lab → · Contrast checker → · Palette generator →

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